[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175642562274.1653564.10878658368837488044.git-patchwork-notify@kernel.org>
Date: Fri, 29 Aug 2025 00:00:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Cc: andrew@...n.ch, hkallweit1@...il.com, alexandre.torgue@...s.st.com,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com, mcoquelin.stm32@...il.com,
netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next] net: stmmac: minor cleanups to
stmmac_bus_clks_config()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 27 Aug 2025 09:54:51 +0100 you wrote:
> stmmac_bus_clks_config() doesn't need to repeatedly on dereference
> priv->plat as this remains the same throughout this function. Not only
> does this detract from the function's readability, but it could cause
> the value to be reloaded each time. Use a local variable.
>
> Also, the final return can simply return zero, and we can dispense
> with the initialiser for 'ret'.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: minor cleanups to stmmac_bus_clks_config()
https://git.kernel.org/netdev/net-next/c/2584ed250a37
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists