Re: [PATCH v2 net-next] net: udp: remove redundant initialization in udp_gro_complete

2020-11-12 Thread Jakub Kicinski
On Mon, 9 Nov 2020 21:57:58 -0500 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > The initialization for 'err' with '-ENOSYS' is redundant and > can be removed, as it is updated soon and not used. > > Changes since v1: > - Move the err declaration below struct sock *sk > > Signed-off

[PATCH v2 net-next] net: udp: remove redundant initialization in udp_gro_complete

2020-11-09 Thread menglong8 . dong
From: Menglong Dong The initialization for 'err' with '-ENOSYS' is redundant and can be removed, as it is updated soon and not used. Changes since v1: - Move the err declaration below struct sock *sk Signed-off-by: Menglong Dong --- net/ipv4/udp_offload.c | 2 +- 1 file changed, 1 insertion(+