i40evf: do not re-arm watchdog after remove
authorAshish Shah <ashish.n.shah@intel.com>
Fri, 1 Aug 2014 20:27:12 +0000 (13:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Aug 2014 02:41:14 +0000 (19:41 -0700)
commitd3e2edb70ecf877b4e5f42314449fc648b18627b
treee2fc43939614944bd1da0d41ee0ad65bfd15b9e0
parentfd35886ad38a5b7c71a2105a7d0cac079c735111
i40evf: do not re-arm watchdog after remove

Add in an adapter state check to prevent re-arming watchdog timer after
i40evf_remove has been called and timer has been deleted.

Change-ID: I636ba7c6322be8cbf053231959f90c0a2d8d803a
Signed-off-by: Ashish Shah <ashish.n.shah@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40evf/i40evf_main.c