[Linux-stm32] [PATCH net-next] net: stmmac: remove write-only priv->speed

Andrew Lunn andrew at lunn.ch
Fri Mar 7 14:08:04 UTC 2025


On Fri, Mar 07, 2025 at 12:11:29AM +0000, Russell King (Oracle) 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>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the Linux-stm32 mailing list