ixgbe: cleanup logic for the service timer and VF hang detection
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:51:22 +0000 (07:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2012 08:57:23 +0000 (01:57 -0700)
commit6bb78cfb50bfbaf90646a80448ee8de2372e292a
tree5258daf5977698179a4fd8c7362a8728c7ccb5ff
parentd3ee42944393895374e2f321f54e9a701e9f965c
ixgbe: cleanup logic for the service timer and VF hang detection

This change just cleans up some of the logic in the service_timer function
so that we can avoid unnecessary swapping of the ready value between true to
false and back to true.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c