]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: vxlan: remove duplicated initialization in vxlan_xmit
authorMenglong Dong <menglong8.dong@gmail.com>
Sat, 10 Aug 2024 02:06:32 +0000 (10:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2024 12:37:43 +0000 (13:37 +0100)
commit6b8a024d25ebf7535eb4a3e926309aa693cfe1bd
treecab6023b0447a4c1c0df197c32ce5a45675ada69
parentf547e956dd84a585c6b75d3f52e1a1bb9c36c0e2
net: vxlan: remove duplicated initialization in vxlan_xmit

The variable "did_rsc" is initialized twice, which is unnecessary. Just
remove one of them.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan/vxlan_core.c