net: mhi: Remove redundant initialization owner in mhi_net_driver
authorLi Zetao <lizetao1@huawei.com>
Tue, 8 Aug 2023 02:12:38 +0000 (10:12 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Aug 2023 00:29:42 +0000 (17:29 -0700)
commit215c44fa69d7a873e058b2e1c451c12025d94bee
tree917947426501aef370b963f72b52b47b26f79f79
parentdccb8eb2d37048b869f14abf258ad6d073494075
net: mhi: Remove redundant initialization owner in mhi_net_driver

The module_mhi_driver() will set "THIS_MODULE" to driver.owner when
register a mhi_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>
Link: https://lore.kernel.org/r/20230808021238.2975585-1-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mhi_net.c