]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: hns: Remove unused macro AE_NAME_PORT_ID_IDX
authorYueHaibing <yuehaibing@huawei.com>
Sat, 29 Aug 2020 11:57:37 +0000 (19:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 19:41:28 +0000 (12:41 -0700)
There is no caller in tree.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c

index b43dec0560a8eca42ba21ec9cce21dc5d559cc9d..b98244f75ab9e00c30724196927013ddffc40fe6 100644 (file)
@@ -13,8 +13,6 @@
 #include "hns_dsaf_ppe.h"
 #include "hns_dsaf_rcb.h"
 
-#define AE_NAME_PORT_ID_IDX 6
-
 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle)
 {
        struct  hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);