igc: Cleanup the redundant code
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 21 Apr 2019 08:17:23 +0000 (11:17 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 May 2019 23:15:55 +0000 (16:15 -0700)
commit62a5b8429e99246cd81678774d2de1a67738be9b
treeee8d7b1614faf5ecc89b658470ee8c2de0208768
parent0373ad4d051cdc491e9627d4a66d00b258b6cd80
igc: Cleanup the redundant code

The default flow control settings for the i225 device is both
'rx' and 'tx' pause frames. There is no depend on the NVM value.
This patch comes to fix this and clean up the driver code.

Signed-off-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>
drivers/net/ethernet/intel/igc/igc_mac.c