[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201107122034.55d527a7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sat, 7 Nov 2020 12:20:34 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: menglong8.dong@...il.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dingtianhong@...wei.com,
Menglong Dong <dong.menglong@....com.cn>
Subject: Re: [PATCH v2] net: macvlan: remove redundant initialization in
macvlan_dev_netpoll_setup
On Wed, 4 Nov 2020 20:54:04 -0500 menglong8.dong@...il.com wrote:
> From: Menglong Dong <dong.menglong@....com.cn>
>
> 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@....com.cn>
Applied.
Powered by blists - more mailing lists