Re: [PATCH] drivers: vxlan: fix returnvar.cocci warning

From: Paolo Abeni
Date: Tue Mar 08 2022 - 05:49:21 EST


Hello,

On Tue, 2022-03-08 at 18:00 +0800, 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.
>
> Signed-off-by: Guo Zhengkui <guozhengkui@xxxxxxxx>

Please specify a target tree (likely net-next) in the patch subj.
Additionally, this looks worthy a "Fixes" tag, likely:

Fixes: f9c4bb0b245c ("vxlan: vni filtering support on collect metadata device")

Thanks,

Paolo