[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210105.165303.692592440460221271.davem@davemloft.net>
Date: Tue, 05 Jan 2021 16:53:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wangyunjian@...wei.com
Cc: netdev@...r.kernel.org, kuba@...nel.org, jerry.lilijun@...wei.com,
xudingke@...wei.com
Subject: Re: [PATCH net v2] macvlan: remove redundant null check on data
From: wangyunjian <wangyunjian@...wei.com>
Date: Tue, 5 Jan 2021 14:31:34 +0800
> From: Yunjian Wang <wangyunjian@...wei.com>
>
> Because macvlan_common_newlink() and macvlan_changelink() already
> checked NULL data parameter, so the additional check is unnecessary,
> just remove it.
>
> Fixes: 79cf79abce71 ("macvlan: add source mode")
> Signed-off-by: Yunjian Wang <wangyunjian@...wei.com>
> ---
> v2:
> * change code styles and commit log suggested by Jakub Kicinski
> ---
Applied to net-next, thanks.
Powered by blists - more mailing lists