Re: [PATCH linux-next v2] drivers: vxlan: fix returnvar.cocci warning

From: Roopa Prabhu
Date: Tue Mar 08 2022 - 15:32:52 EST



On 3/8/22 05:43, Guo Zhengkui wrote:
Fix the following coccicheck warning:

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

Fixes: f9c4bb0b245c ("vxlan: vni filtering support on collect metadata device")
Signed-off-by: Guo Zhengkui <guozhengkui@xxxxxxxx>
---

Acked-by: Roopa Prabhu <roopa@xxxxxxxxxx>

the patch prefix should be net-next

thanks for the fix