[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167394661579.18505.5359254062812323564.git-patchwork-notify@kernel.org>
Date: Tue, 17 Jan 2023 09:10:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <error27@...il.com>
Cc: idosch@...dia.com, jiri@...dia.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] devlink: remove some unnecessary code
Hello:
This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Fri, 13 Jan 2023 10:35:43 +0300 you wrote:
> This code checks if (attrs[DEVLINK_ATTR_TRAP_POLICER_ID]) twice. Once
> at the start of the function and then a couple lines later. Delete the
> second check since that one must be true.
>
> Because the second condition is always true, it means the:
>
> policer_item = group_item->policer_item;
>
> [...]
Here is the summary with links:
- [net-next] devlink: remove some unnecessary code
https://git.kernel.org/netdev/net-next/c/501543b4fff0
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