Re: [PATCH] net: udp: remove redundant initialization in udp_send_skb
From: Jakub Kicinski
Date: Mon Nov 09 2020 - 20:13:54 EST
On Fri, 6 Nov 2020 01:42:40 -0500 menglong8.dong@xxxxxxxxx wrote:
> From: Menglong Dong <dong.menglong@xxxxxxxxxx>
>
> The initialization for 'err' with 0 is redundant and can be removed,
> as it is updated by ip_send_skb and not used before that.
>
> Signed-off-by: Menglong Dong <dong.menglong@xxxxxxxxxx>
Applied.