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

From: Jakub Kicinski
Date: Sat Nov 07 2020 - 15:20:40 EST


On Wed, 4 Nov 2020 20:54:04 -0500 menglong8.dong@xxxxxxxxx wrote:
> From: Menglong Dong <dong.menglong@xxxxxxxxxx>
>
> 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 <dong.menglong@xxxxxxxxxx>

Applied.