From: Sasha Neftin Date: Tue, 30 Jul 2019 07:18:48 +0000 (+0300) Subject: igc: Remove unneeded PCI bus defines X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00c0916618e6593dde5a99e9554983e5e2baff7e;p=openwrt%2Fstaging%2Fblogic.git igc: Remove unneeded PCI bus defines PCIe device control 2 defines does not use internally. This patch comes to clean up those. Signed-off-by: Sasha Neftin Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc/igc_defines.h index 11b99acf4abe..549134ecd105 100644 --- a/drivers/net/ethernet/intel/igc/igc_defines.h +++ b/drivers/net/ethernet/intel/igc/igc_defines.h @@ -10,10 +10,6 @@ #define IGC_CTRL_EXT_DRV_LOAD 0x10000000 /* Drv loaded bit for FW */ -/* PCI Bus Info */ -#define PCIE_DEVICE_CONTROL2 0x28 -#define PCIE_DEVICE_CONTROL2_16ms 0x0005 - /* Physical Func Reset Done Indication */ #define IGC_CTRL_EXT_LINK_MODE_MASK 0x00C00000