]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: use 'cc' instead of 'hw_cc' for local variable
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 8 Apr 2019 23:52:01 +0000 (16:52 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 5 Jun 2019 20:04:29 +0000 (13:04 -0700)
commit6c8c0820225e1bee0a089ea266728a0cc01c68bf
treeb76d70ad04275ca5a1de7f2e5f5098feac7767aa
parente2d32786af4ebe105866017f24bafd521838155f
ixgbe: use 'cc' instead of 'hw_cc' for local variable

The ixgbe_ptp.c file sometimes uses hw_cc as the local variable for the
cycle counter in ixgbe_ptp_read_X550. However, we use just 'cc' as
a local variable for this by convention else where in the file.

Convert this lone usage of 'hw_cc' into just the shorter 'cc' name to
match the other read functions in the file.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c