net: hns3: remove unnecessary (void*) conversions.
authorWu Yunchuan <yunchuan@nfschina.com>
Mon, 17 Jul 2023 03:11:28 +0000 (11:11 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Jul 2023 02:00:47 +0000 (19:00 -0700)
commit14fbcad00fe51be25ff4c545836fdc518b69045a
tree497e400a9fb6a3b7221b75c7533401585489a37e
parent89c04d6c49c36f7bb6e5d2f7c90dd0634d7a1642
net: hns3: remove unnecessary (void*) conversions.

No need cast (void*) to (struct hns3_nic_priv *).

Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Reviewed-by: Hao Lan <lanhao@huawei.com>
Link: https://lore.kernel.org/r/20230717031128.54557-1-yunchuan@nfschina.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c