[PATCH net-next] net: stmmac: remove write-only priv->speed
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Mar 7 19:40:47 PST 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Fri, 07 Mar 2025 00:11:29 +0000 you wrote:
> priv->speed is only ever written to in two locations, but never
> read. Therefore, it serves no useful purpose. Remove this unnecessary
> struct member.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
> ---
> drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 -
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 3 ---
> 2 files changed, 4 deletions(-)
Here is the summary with links:
- [net-next] net: stmmac: remove write-only priv->speed
https://git.kernel.org/netdev/net-next/c/64fdb808660d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list