]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0201343fb8d88a7e727fa7fd32111939a27aad8
treeee8d7b1614faf5ecc89b658470ee8c2de0208768
parentc3fcbce8241c7f4e34cca8d4c50e77441ff1525e
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