diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2021-03-23 15:41:06 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-24 12:07:21 -0700 |
commit | cf7fc356676847c0ef29b3bafd620d8cecfed345 (patch) | |
tree | 40019b336b98d77e012b849d339d136ac382c36c /drivers/net | |
parent | 484da1f4f7c3f7f53f1833dad2aa00110cf97e5b (diff) | |
download | lwn-cf7fc356676847c0ef29b3bafd620d8cecfed345.tar.gz lwn-cf7fc356676847c0ef29b3bafd620d8cecfed345.zip |
net: hns: remove unused NIC_LB_TEST_RX_PKG_ERR
NIC_LB_TEST_RX_PKG_ERR is not used and can be removed.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c index 1af664779d33..177ce067fcec 100644 --- a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c @@ -480,7 +480,7 @@ static int __lb_run_test(struct net_device *ndev, #define NIC_LB_TEST_NO_MEM_ERR 1 #define NIC_LB_TEST_TX_CNT_ERR 2 #define NIC_LB_TEST_RX_CNT_ERR 3 -#define NIC_LB_TEST_RX_PKG_ERR 4 + struct hns_nic_priv *priv = netdev_priv(ndev); struct hnae_handle *h = priv->ae_handle; int i, j, lc, good_cnt, ret_val = 0; |