[PATCH net-next] net: stmmac: remove unnecessary stmmac_mac_set() in stmmac_release()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Mon Mar 17 13:50:43 PDT 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Fri, 14 Mar 2025 18:02:44 +0000 you wrote:
> stmmac_release() calls phylink_stop() and then goes on to call
> stmmac_mac_set(, false). However, phylink_stop() will call
> stmmac_mac_link_down() before returning, which will do this work.
> Remove this unnecessary call.
>
> Reviewed-by: Andrew Lunn <andrew at lunn.ch>
> Tested-by: Furong Xu <0x1207 at gmail.com>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: remove unnecessary stmmac_mac_set() in stmmac_release()
https://git.kernel.org/netdev/net-next/c/39b0a10d80d6
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