Re: [PATCH v2] net: macvlan: remove redundant initialization in macvlan_dev_netpoll_setup

2020-11-07 Thread Jakub Kicinski
On Wed, 4 Nov 2020 20:54:04 -0500 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > The initialization for err with 0 seems useless, as it is soon updated > with -ENOMEM. So, we can remove it. > > Changes since v1: > -Keep -ENOMEM still. > > Signed-off-by: Menglong Dong Applied.

[PATCH v2] net: macvlan: remove redundant initialization in macvlan_dev_netpoll_setup

2020-11-04 Thread menglong8 . dong
From: Menglong Dong The initialization for err with 0 seems useless, as it is soon updated with -ENOMEM. So, we can remove it. Changes since v1: -Keep -ENOMEM still. Signed-off-by: Menglong Dong --- drivers/net/macvlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv