* [PATCH net-next] ethtool: remove ethtool_eee_use_linkmodes
@ 2024-03-05 21:26 Heiner Kallweit
2024-03-05 21:43 ` Andrew Lunn
2024-03-07 4:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2024-03-05 21:26 UTC (permalink / raw)
To: Andrew Lunn, Russell King - ARM Linux, Paolo Abeni,
Jakub Kicinski, David Miller, Eric Dumazet
Cc: netdev@vger.kernel.org
After 292fac464b01 ("net: ethtool: eee: Remove legacy _u32 from keee")
this function has no user any longer.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
net/ethtool/common.c | 5 -----
net/ethtool/common.h | 1 -
2 files changed, 6 deletions(-)
diff --git a/net/ethtool/common.c b/net/ethtool/common.c
index ce486cec3..6b2a360dc 100644
--- a/net/ethtool/common.c
+++ b/net/ethtool/common.c
@@ -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);
-}
diff --git a/net/ethtool/common.h b/net/ethtool/common.h
index 0f2b5f7ea..28b8aaaf9 100644
--- a/net/ethtool/common.h
+++ b/net/ethtool/common.h
@@ -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 */
--
2.44.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH net-next] ethtool: remove ethtool_eee_use_linkmodes
2024-03-05 21:26 [PATCH net-next] ethtool: remove ethtool_eee_use_linkmodes Heiner Kallweit
@ 2024-03-05 21:43 ` Andrew Lunn
2024-03-07 4:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2024-03-05 21:43 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Russell King - ARM Linux, Paolo Abeni, Jakub Kicinski,
David Miller, Eric Dumazet, netdev@vger.kernel.org
On Tue, Mar 05, 2024 at 10:26:10PM +0100, Heiner Kallweit wrote:
> After 292fac464b01 ("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>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH net-next] ethtool: remove ethtool_eee_use_linkmodes
2024-03-05 21:26 [PATCH net-next] ethtool: remove ethtool_eee_use_linkmodes Heiner Kallweit
2024-03-05 21:43 ` Andrew Lunn
@ 2024-03-07 4:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-07 4:50 UTC (permalink / raw)
To: Heiner Kallweit; +Cc: andrew, linux, pabeni, kuba, davem, edumazet, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-07 4:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 21:26 [PATCH net-next] ethtool: remove ethtool_eee_use_linkmodes Heiner Kallweit
2024-03-05 21:43 ` Andrew Lunn
2024-03-07 4:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox