bcm63xx_enet: Remove redundant initialization owner
authorLi Zetao <lizetao1@huawei.com>
Tue, 8 Aug 2023 01:47:02 +0000 (09:47 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Aug 2023 20:03:23 +0000 (13:03 -0700)
commit09c80167dbec3c742ed0d0218eef13be648b47ed
tree6072c62f7ec8d747ef66ba99bad2d8f42e8a594b
parentca76b386d46fdcdf2d8829f008744e57f819a581
bcm63xx_enet: Remove redundant initialization owner

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@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://lore.kernel.org/r/20230808014702.2712699-1-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bcm63xx_enet.c