]> 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)
commit40c4e806e840b23a56c5fe1b99df46e7403406fd
tree5258daf5977698179a4fd8c7362a8728c7ccb5ff
parent4a7a2d861a982d45af6143b95ffdc8e11fe5f97e
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