OSDN Git Service

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)
commit8b057955af8712c5b4d23a0c472170150ee8db18
treeb76d70ad04275ca5a1de7f2e5f5098feac7767aa
parent68d9676fc04eeb1b7d8a2c1bca56458e4cc74e3f
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