]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2689e94e01f7d20e1c728a55e95bbeea1eefedb8
tree28cb846c729e1d2eef2f1248183aa96d8d9003cf
parent3e545102440b9720b96a29dc795775f5b49e9a2f
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