e1000: #if 0 two functions
Subsystems (2)
PATCH 1/1 e1000: #if 0 two functions
e1000_{read,write}_pci_cfg() are no longer used.
Signed-off-by Adrian Bunk <[email protected]>
---
This patch has been sent on:
- 5 Jun 2007
drivers/net/e1000/e1000_hw.h | 2 -- drivers/net/e1000/e1000_main.c | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-)
drivers/net/e1000/e1000_hw.h renamed from drivers/net/e1000/e1000_hw.h.old +0 -2
@@ -421,8 +421,6 @@ void e1000_tbi_adjust_stats(struct e1000void e1000_get_bus_info (struct e1000_hw *hw);void e1000_pci_set_mwi (struct e1000_hw *hw);void e1000_pci_clear_mwi (struct e1000_hw *hw); -void e1000_read_pci_cfg (struct e1000_hw *hw,uint32_t reg,uint16_t * value); -void e1000_write_pci_cfg (struct e1000_hw *hw,uint32_t reg,uint16_t * value);int32_t e1000_read_pcie_cap_reg (struct e1000_hw *hw,uint32_t reg,uint16_t *value);void e1000_pcix_set_mmrbc (struct e1000_hw *hw,int mmrbc);int e1000_pcix_get_mmrbc (struct e1000_hw *hw);
drivers/net/e1000/e1000_main.c renamed from drivers/net/e1000/e1000_main.c.old +4 -0
@@ -4888,6 +4888,8 @@ e1000_pci_clear_mwi(struct e1000_hw *hw)pci_clear_mwi (adapter->pdev); } +#if 0 +void e1000_read_pci_cfg (struct e1000_hw *hw,uint32_t reg,uint16_t *value) {
@@ -4904,6 +4906,8 @@ e1000_write_pci_cfg(struct e1000_hw *hw, pci_write_config_word(adapter->pdev, reg, *value); } +#endif /* 0 */ +int e1000_pcix_get_mmrbc (struct e1000_hw *hw) {