[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZNOHsy0lQBwuqoVc@vergenet.net>
Date: Wed, 9 Aug 2023 14:33:55 +0200
From: Simon Horman <horms@...nel.org>
To: Li Zetao <lizetao1@...wei.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, shayagr@...zon.com, thomas.lendacky@....com,
leon@...nel.org, khalasa@...p.pl, u.kleine-koenig@...gutronix.de,
wsa+renesas@...g-engineering.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bcm63xx_enet: Remove redundant initialization
owner
On Tue, Aug 08, 2023 at 09:47:02AM +0800, Li Zetao wrote:
> The platform_register_drivers() will set "THIS_MODULE" to driver.owner when
> register a platform_driver driver, so it is redundant initialization to set
> driver.owner in the statement. Remove it for clean code.
>
> Signed-off-by: Li Zetao <lizetao1@...wei.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists