diff mbox series

[net] net: hns3: cleanup of stray struct hns3_link_mode_mapping

Message ID 20191115115232.18600-1-salil.mehta@huawei.com
State Accepted
Commit b696083d5e9bd65a964211bb121513298efec187
Headers show
Series [net] net: hns3: cleanup of stray struct hns3_link_mode_mapping | expand

Commit Message

Salil Mehta Nov. 15, 2019, 11:52 a.m. UTC
This patch cleans-up the stray left over code. It has no
functionality impact.

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>

---
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 5 -----
 1 file changed, 5 deletions(-)

-- 
2.17.1

Comments

David Miller Nov. 16, 2019, 9:04 p.m. UTC | #1
From: Salil Mehta <salil.mehta@huawei.com>

Date: Fri, 15 Nov 2019 11:52:32 +0000

> This patch cleans-up the stray left over code. It has no

> functionality impact.

> 

> Signed-off-by: Salil Mehta <salil.mehta@huawei.com>


Applied, thanks Salil.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
index 680c3508876d..52c9d204fe3d 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
@@ -70,11 +70,6 @@  static const struct hns3_stats hns3_rxq_stats[] = {
 #define HNS3_NIC_LB_TEST_TX_CNT_ERR	2
 #define HNS3_NIC_LB_TEST_RX_CNT_ERR	3
 
-struct hns3_link_mode_mapping {
-	u32 hns3_link_mode;
-	u32 ethtool_link_mode;
-};
-
 static int hns3_lp_setup(struct net_device *ndev, enum hnae3_loop loop, bool en)
 {
 	struct hnae3_handle *h = hns3_get_handle(ndev);