diff options
Diffstat (limited to 'drivers/net/igb/e1000_mac.c')
-rw-r--r-- | drivers/net/igb/e1000_mac.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/igb/e1000_mac.c b/drivers/net/igb/e1000_mac.c index 97f0049a5d6b..16fa0833368c 100644 --- a/drivers/net/igb/e1000_mac.c +++ b/drivers/net/igb/e1000_mac.c | |||
@@ -37,19 +37,6 @@ | |||
37 | static s32 igb_set_default_fc(struct e1000_hw *hw); | 37 | static s32 igb_set_default_fc(struct e1000_hw *hw); |
38 | static s32 igb_set_fc_watermarks(struct e1000_hw *hw); | 38 | static s32 igb_set_fc_watermarks(struct e1000_hw *hw); |
39 | 39 | ||
40 | /** | ||
41 | * igb_remove_device - Free device specific structure | ||
42 | * @hw: pointer to the HW structure | ||
43 | * | ||
44 | * If a device specific structure was allocated, this function will | ||
45 | * free it. | ||
46 | **/ | ||
47 | void igb_remove_device(struct e1000_hw *hw) | ||
48 | { | ||
49 | /* Freeing the dev_spec member of e1000_hw structure */ | ||
50 | kfree(hw->dev_spec); | ||
51 | } | ||
52 | |||
53 | static s32 igb_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) | 40 | static s32 igb_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) |
54 | { | 41 | { |
55 | struct igb_adapter *adapter = hw->back; | 42 | struct igb_adapter *adapter = hw->back; |