Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: e1000: Remove unused declarations

Commit 675ad47375c7 ("e1000: Use netdev_<level>, pr_<level> and dev_<level>")
declared but never implemented e1000_get_hw_dev_name().
Commit 1532ecea1deb ("e1000: drop dead pcie code from e1000")
removed e1000_check_mng_mode()/e1000_blink_led_start() but not the declarations.
Commit c46b59b241ec ("e1000: Remove unused function e1000_mta_set.")
removed e1000_mta_set() but not its declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Yue Haibing and committed by
David S. Miller
2045b393 2b8893b6

-4
-1
drivers/net/ethernet/intel/e1000/e1000.h
··· 347 347 void e1000_power_up_phy(struct e1000_adapter *); 348 348 void e1000_set_ethtool_ops(struct net_device *netdev); 349 349 void e1000_check_options(struct e1000_adapter *adapter); 350 - char *e1000_get_hw_dev_name(struct e1000_hw *hw); 351 350 352 351 #endif /* _E1000_H_ */
-3
drivers/net/ethernet/intel/e1000/e1000_hw.h
··· 343 343 }; 344 344 #endif 345 345 346 - bool e1000_check_mng_mode(struct e1000_hw *hw); 347 346 s32 e1000_read_eeprom(struct e1000_hw *hw, u16 reg, u16 words, u16 * data); 348 347 s32 e1000_validate_eeprom_checksum(struct e1000_hw *hw); 349 348 s32 e1000_update_eeprom_checksum(struct e1000_hw *hw); ··· 351 352 352 353 /* Filters (multicast, vlan, receive) */ 353 354 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 * mc_addr); 354 - void e1000_mta_set(struct e1000_hw *hw, u32 hash_value); 355 355 void e1000_rar_set(struct e1000_hw *hw, u8 * mc_addr, u32 rar_index); 356 356 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value); 357 357 ··· 359 361 s32 e1000_cleanup_led(struct e1000_hw *hw); 360 362 s32 e1000_led_on(struct e1000_hw *hw); 361 363 s32 e1000_led_off(struct e1000_hw *hw); 362 - s32 e1000_blink_led_start(struct e1000_hw *hw); 363 364 364 365 /* Adaptive IFS Functions */ 365 366