Re: [PATCH] ipv6: exthdrs: use swap() instead of open coding it

From: patchwork-bot+netdevbpf
Date: Wed Apr 13 2022 - 07:30:23 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 12 Apr 2022 11:20:58 +0800 you wrote:
> Address the following coccicheck warning:
> net/ipv6/exthdrs.c:620:44-45: WARNING opportunity for swap()
>
> by using swap() for the swapping of variable values and drop
> the tmp (`addr`) variable that is not needed any more.
>
> Signed-off-by: Guo Zhengkui <guozhengkui@xxxxxxxx>
>
> [...]

Here is the summary with links:
- ipv6: exthdrs: use swap() instead of open coding it
https://git.kernel.org/netdev/net-next/c/5ee6ad1dcae8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html