aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/igb/e1000_mac.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/igb/e1000_mac.c b/drivers/net/igb/e1000_mac.c
index 137269daeb2e..97f0049a5d6b 100644
--- a/drivers/net/igb/e1000_mac.c
+++ b/drivers/net/igb/e1000_mac.c
@@ -50,13 +50,6 @@ void igb_remove_device(struct e1000_hw *hw)
50 kfree(hw->dev_spec); 50 kfree(hw->dev_spec);
51} 51}
52 52
53static void igb_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
54{
55 struct igb_adapter *adapter = hw->back;
56
57 pci_read_config_word(adapter->pdev, reg, value);
58}
59
60static s32 igb_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) 53static s32 igb_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
61{ 54{
62 struct igb_adapter *adapter = hw->back; 55 struct igb_adapter *adapter = hw->back;