Skip to content

Commit b696083

Browse files
Salil Mehtadavem330
authored andcommitted
net: hns3: cleanup of stray struct hns3_link_mode_mapping
This patch cleans-up the stray left over code. It has no functionality impact. Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8204df7 commit b696083

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ static const struct hns3_stats hns3_rxq_stats[] = {
7070
#define HNS3_NIC_LB_TEST_TX_CNT_ERR 2
7171
#define HNS3_NIC_LB_TEST_RX_CNT_ERR 3
7272

73-
struct hns3_link_mode_mapping {
74-
u32 hns3_link_mode;
75-
u32 ethtool_link_mode;
76-
};
77-
7873
static int hns3_lp_setup(struct net_device *ndev, enum hnae3_loop loop, bool en)
7974
{
8075
struct hnae3_handle *h = hns3_get_handle(ndev);

0 commit comments

Comments
 (0)