]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2b246f7e43d5c7be6e888120d51d88122c5a41c
tree5258daf5977698179a4fd8c7362a8728c7ccb5ff
parent0960d96c8cef0e2f47c201af3d8ba5c9edae3e55
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