[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YzFYkjt7MgQroFtL@corigine.com>
Date: Mon, 26 Sep 2022 09:45:22 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Juhee Kang <claudiajkang@...il.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, skhan@...uxfoundation.org
Subject: Re: [PATCH net-next 2/3] ethtool: use netdev_unregistering instead
of open code
On Sat, Sep 24, 2022 at 01:09:36AM +0900, Juhee Kang wrote:
> [You don't often get email from claudiajkang@...il.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> The open code is defined as a helper function(netdev_unregistering)
> on netdev.h, which the open code is dev->reg_state == NETREG_UNREGISTERING.
> Thus, netdev_unregistering() replaces the open code. This patch doesn't
> change logic.
>
> Signed-off-by: Juhee Kang <claudiajkang@...il.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists