]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit0ede4a606af1778b24b84b7feed3c0bed2751a34
tree121704ff53c3f5ef844406bfad87a8855ed4aee7
parent6cbc52ef10ba3c7fbd8954270c025ffbf643ab05
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