[Intel-wired-lan] [PATCH 1/1] igc: Fix code redundancy
Brown, Aaron F
aaron.f.brown at intel.com
Sat Jan 5 04:06:47 UTC 2019
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Sasha Neftin
> Sent: Tuesday, December 18, 2018 1:30 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH 1/1] igc: Fix code redundancy
>
> Remove redundant igc_check_for_link_base code and replace it with
> an igc_check_for_copper_link method.
> Fix duplication of IGC_ADVTXD_PAYLEN_SHIFT mask declaration.
> Remove obsolete IGC_SCVPC register definition.
>
> Signed-off-by: Sasha Neftin <sasha.neftin at intel.com>
> ---
> drivers/net/ethernet/intel/igc/igc_base.c | 20 ++------------------
> drivers/net/ethernet/intel/igc/igc_base.h | 3 ---
> drivers/net/ethernet/intel/igc/igc_regs.h | 1 -
> 3 files changed, 2 insertions(+), 22 deletions(-)
>
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list