[PATCH net-next] net: ti: icssg-prueth: Omit a variable reassignment in prueth_netdev_init()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Oct 23 02:40:06 PDT 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Mon, 20 Oct 2025 16:02:56 +0200 you wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Mon, 20 Oct 2025 15:46:11 +0200
>
> An error code was assigned to a variable and checked accordingly.
> This value was passed to a dev_err_probe() call in an if branch.
> This function is documented in the way that the same value is returned.
> Thus delete two redundant variable reassignments.
>
> [...]
Here is the summary with links:
- [net-next] net: ti: icssg-prueth: Omit a variable reassignment in prueth_netdev_init()
https://git.kernel.org/netdev/net-next/c/e0665df8c501
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