net/mlx4_en: Disable HW clock overflow check when no HW support
authorAmir Vadai <amirv@mellanox.com>
Thu, 25 Apr 2013 05:22:24 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2013 03:29:13 +0000 (23:29 -0400)
commitdc8142ea8906ea94a68734c1513b92b3f490fcd5
tree28cb846c729e1d2eef2f1248183aa96d8d9003cf
parent30b40c31c2eeaa9188b09c3fd1230b90b2d1823b
net/mlx4_en: Disable HW clock overflow check when no HW support

Should not run HW clock overflow check if HW clock is not supported. Also, since
this watchdog is the only customer of service_task, no need to start it in that case.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c