Skip to content

Commit

Permalink
ethtool: remove ethtool_eee_use_linkmodes
Browse files Browse the repository at this point in the history
After 292fac4 ("net: ethtool: eee: Remove legacy _u32 from keee")
this function has no user any longer.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/b4ff9b51-092b-4d44-bfce-c95342a05b51@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Heiner Kallweit authored and Jakub Kicinski committed Mar 7, 2024
1 parent c223416 commit d7933a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions net/ethtool/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,3 @@ ethtool_forced_speed_maps_init(struct ethtool_forced_speed_map *maps, u32 size)
}
}
EXPORT_SYMBOL_GPL(ethtool_forced_speed_maps_init);

bool ethtool_eee_use_linkmodes(const struct ethtool_keee *eee)
{
return !linkmode_empty(eee->supported);
}
1 change: 0 additions & 1 deletion net/ethtool/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ int ethtool_get_module_eeprom_call(struct net_device *dev,
struct ethtool_eeprom *ee, u8 *data);

bool __ethtool_dev_mm_supported(struct net_device *dev);
bool ethtool_eee_use_linkmodes(const struct ethtool_keee *eee);

#endif /* _ETHTOOL_COMMON_H */

0 comments on commit d7933a2

Please sign in to comment.