Subject: Re: [PATCH net-next] net: vxlan: remove duplicated initialization in vxlan_xmit

From: Simon Horman <[email-masked]>
Date: Sun, 11 Aug 2024 14:58:35 +0100

On Sat, Aug 10, 2024 at 10:06:32AM +0800, Menglong Dong wrote:
> The variable "did_rsc" is initialized twice, which is unnecessary. Just
> remove one of them.
> 
> Signed-off-by: Menglong Dong <[email-masked]>

Thanks, I have verified that did_rsc is initialised to false,
else where in this function, before it is otherwise used.

And, as the function may return before then, it does seem
reasonable to defer initialisation until then.

Reviewed-by: Simon Horman <[email-masked]>