Re: [PATCH] net: udp: remove redundant initialization in udp_dump_one

2020-11-09 Thread Jakub Kicinski
On Fri, 6 Nov 2020 01:42:38 -0500 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > The initialization for 'err' with '-EINVAL' is redundant and > can be removed, as it is updated soon and not used. > > Signed-off-by: Menglong Dong Applied, thanks.

[PATCH] net: udp: remove redundant initialization in udp_dump_one

2020-11-05 Thread menglong8 . dong
From: Menglong Dong The initialization for 'err' with '-EINVAL' is redundant and can be removed, as it is updated soon and not used. Signed-off-by: Menglong Dong --- net/ipv4/udp_diag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/udp_diag.c b/net/ipv4/udp_diag.