OSDN Git Service

i40e: rename 'change' variable to 'autoneg_changed'
authorAlan Brady <alan.brady@intel.com>
Thu, 5 Oct 2017 21:53:43 +0000 (14:53 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 17 Oct 2017 17:48:51 +0000 (10:48 -0700)
commit636b62d778302149216fad6aaa5e8d84c934a794
treebb57048b78d8660dcd83697fca240f1cc2647c7e
parent79f04a3aba91531a3b979f6ebd846367a664638f
i40e: rename 'change' variable to 'autoneg_changed'

This variable isn't actually very descriptive and makes the code a bit
confusing as to what it is being used for.  This patch enhances the
variable with the longer name, 'autoneg_changed', which makes it clear
we are concerned with autoneg changing in this context.

Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c