linux_dsm_epyc7002/drivers/net/ethernet/intel/igc
YueHaibing dda458d285 igc: Remove set but not used variables 'ctrl_ext, link_mode'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/intel/igc/igc_base.c: In function 'igc_init_phy_params_base':
drivers/net/ethernet/intel/igc/igc_base.c:240:6: warning:
 variable 'ctrl_ext' set but not used [-Wunused-but-set-variable]
  u32 ctrl_ext;

drivers/net/ethernet/intel/igc/igc_base.c: In function 'igc_get_invariants_base':
drivers/net/ethernet/intel/igc/igc_base.c:290:6: warning:
 variable 'link_mode' set but not used [-Wunused-but-set-variable]
  u32 link_mode = 0;

It never used since introduction in
commit c0071c7aa5 ("igc: Add HW initialization code")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-11-07 09:47:01 -08:00
..
igc_base.c igc: Remove set but not used variables 'ctrl_ext, link_mode' 2018-11-07 09:47:01 -08:00
igc_base.h igc: Add code for PHY support 2018-10-17 13:55:18 -07:00
igc_defines.h igc: Add watchdog 2018-10-17 13:58:47 -07:00
igc_hw.h igc: Add watchdog 2018-10-17 13:58:47 -07:00
igc_i225.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_i225.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_mac.c igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_mac.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_main.c intel-ethernet: software timestamp skbs as late as possible 2018-11-07 09:47:01 -08:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_phy.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_regs.h igc: Add code for PHY support 2018-10-17 13:55:18 -07:00
igc.h igc: Add watchdog 2018-10-17 13:58:47 -07:00
Makefile igc: Add code for PHY support 2018-10-17 13:55:18 -07:00