Skip to content
Commit e58bc864 authored by Guo Zhengkui's avatar Guo Zhengkui Committed by Jakub Kicinski
Browse files

drivers: vxlan: fix returnvar.cocci warning



Fix the following coccicheck warning:

drivers/net/vxlan/vxlan_core.c:2995:5-8:
Unneeded variable: "ret". Return "0" on line 3004.

Fixes: f9c4bb0b ("vxlan: vni filtering support on collect metadata device")
Signed-off-by: default avatarGuo Zhengkui <guozhengkui@vivo.com>
Acked-by: default avatarRoopa Prabhu <roopa@nvidia.com>
Link: https://lore.kernel.org/r/20220308134321.29862-1-guozhengkui@vivo.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 24055bb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment