]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: ptp code cleanup
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 22 May 2012 06:08:32 +0000 (06:08 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 14 Jun 2012 10:13:06 +0000 (03:13 -0700)
commit0977b3c3956174415b0ef64c893ac6c89b299b2e
tree121704ff53c3f5ef844406bfad87a8855ed4aee7
parentdfbce8f190b8ed5cbbd520b519a3638118db3be7
ixgbe: ptp code cleanup

This patch fixes two minor nits from Richard Cochran. The first is a case of
ambitious line wrapping that wasn't necessary. The second is to re-order the
flag checks for PPS support. Previously, the hardware test was done first, and
the interrupt flag test was done second. Now, test the interrupt flag and use
the unlikely macro.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c