mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 06:05:12 +07:00
igc: Clean up unused pointers
Few function pointers from phy_operations structure were unused. This patch cleans those. Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
ae586f0b39
commit
796bfb1035
@ -114,11 +114,8 @@ struct igc_nvm_operations {
|
|||||||
|
|
||||||
struct igc_phy_operations {
|
struct igc_phy_operations {
|
||||||
s32 (*acquire)(struct igc_hw *hw);
|
s32 (*acquire)(struct igc_hw *hw);
|
||||||
s32 (*check_polarity)(struct igc_hw *hw);
|
|
||||||
s32 (*check_reset_block)(struct igc_hw *hw);
|
s32 (*check_reset_block)(struct igc_hw *hw);
|
||||||
s32 (*force_speed_duplex)(struct igc_hw *hw);
|
s32 (*force_speed_duplex)(struct igc_hw *hw);
|
||||||
s32 (*get_cfg_done)(struct igc_hw *hw);
|
|
||||||
s32 (*get_cable_length)(struct igc_hw *hw);
|
|
||||||
s32 (*get_phy_info)(struct igc_hw *hw);
|
s32 (*get_phy_info)(struct igc_hw *hw);
|
||||||
s32 (*read_reg)(struct igc_hw *hw, u32 address, u16 *data);
|
s32 (*read_reg)(struct igc_hw *hw, u32 address, u16 *data);
|
||||||
void (*release)(struct igc_hw *hw);
|
void (*release)(struct igc_hw *hw);
|
||||||
|
Loading…
Reference in New Issue
Block a user