summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_nvm.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-09-03 14:22:33 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-10-09 00:22:32 +0200
commitc3c50d4c62a26d15fedfcacc7a025891ea5adb0b (patch)
treea5d63f40259aaff909bef51e0cc5485a3cbaec48 /drivers/net/ethernet/intel/igb/e1000_nvm.h
parentiavf: Remove unused declarations (diff)
downloadlinux-c3c50d4c62a26d15fedfcacc7a025891ea5adb0b.tar.xz
linux-c3c50d4c62a26d15fedfcacc7a025891ea5adb0b.zip
igb: Cleanup unused declarations
e1000_init_function_pointers_82575() is never implemented and used since commit 9d5c824399de ("igb: PCI-Express 82575 Gigabit Ethernet driver"). And commit 9835fd7321a6 ("igb: Add new function to read part number from EEPROM in string format") removed igb_read_part_num() implementation. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_nvm.h')
-rw-r--r--drivers/net/ethernet/intel/igb/e1000_nvm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_nvm.h b/drivers/net/ethernet/intel/igb/e1000_nvm.h
index 091cddf4ada8..4f652ab713b3 100644
--- a/drivers/net/ethernet/intel/igb/e1000_nvm.h
+++ b/drivers/net/ethernet/intel/igb/e1000_nvm.h
@@ -7,7 +7,6 @@
s32 igb_acquire_nvm(struct e1000_hw *hw);
void igb_release_nvm(struct e1000_hw *hw);
s32 igb_read_mac_addr(struct e1000_hw *hw);
-s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num,
u32 part_num_size);
s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);