summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2021-03-23 08:41:07 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-24 20:07:21 +0100
commitdcc683b81fc466c82830369738cab649a37ef3c2 (patch)
tree828d13a863fc8302864221b109e73847ea5b37dd /drivers/net/ethernet/hisilicon/hns
parentnet: hns: remove unused NIC_LB_TEST_RX_PKG_ERR (diff)
downloadlinux-dcc683b81fc466c82830369738cab649a37ef3c2.tar.xz
linux-dcc683b81fc466c82830369738cab649a37ef3c2.zip
net: hns: remove unused HNS_LED_PC_REG
HNS_LED_PC_REG 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/ethernet/hisilicon/hns')
-rw-r--r--drivers/net/ethernet/hisilicon/hns/hns_ethtool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c
index 177ce067fcec..da48c05435ea 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c
@@ -17,7 +17,6 @@
#define HNS_PHY_CSC_REG 16 /* Copper Specific Control Register */
#define HNS_PHY_CSS_REG 17 /* Copper Specific Status Register */
#define HNS_LED_FC_REG 16 /* LED Function Control Reg. */
-#define HNS_LED_PC_REG 17 /* LED Polarity Control Reg. */
#define HNS_LED_FORCE_ON 9
#define HNS_LED_FORCE_OFF 8