Skip to contentSkip to conversation

ethtool: remove ethtool_eee_use_linkmodes

PATCH Applied Heiner Kallweit 3 participants 3 messages Mar 5, 2024 – Mar 7, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ethtool: remove ethtool_eee_use_linkmodes

After 292fac464b01 ("net: ethtool: eee: Remove legacy _u32 from keee") this function has no user any longer.

---
 net/ethtool/common.c | 5 -----
 net/ethtool/common.h | 1 -
 2 files changed, 6 deletions(-)
net/ethtool/common.c +0 -5
index ce486cec3..6b2a360dc 100644
@@ -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);
-}
net/ethtool/common.h +0 -1
index 0f2b5f7ea..28b8aaaf9 100644
@@ -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 */
Signature · 1 line
2.44.0
#2 lore raw
In reply to Heiner Kallweit
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Tue, 5 Mar 2024 22:26:10 +0100 you wrote:

After 292fac464b01 ("net: ethtool: eee: Remove legacy _u32 from keee") this function has no user any longer.

---
 net/ethtool/common.c | 5 -----
 net/ethtool/common.h | 1 -
 2 files changed, 6 deletions(-)

Here is the summary with links:
- [net-next] ethtool: remove ethtool_eee_use_linkmodes

    https://git.kernel.org/netdev/net-next/c/d7933a2c7f87

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html