diff options
author | Qianqian Xie <xieqianqian@huawei.com> | 2016-11-09 21:13:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-10 19:45:37 +0300 |
commit | f165e03b94e80be95d6f2cc21526c81906563046 (patch) | |
tree | e45ffd90c176f3d829a43521db21e58da1baa8d8 /drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | |
parent | da2ef1e5585bc733c4cccee8390259abeb27f0bf (diff) | |
download | linux-f165e03b94e80be95d6f2cc21526c81906563046.tar.xz |
net: hns: delete redundant macro definition
This patch deletes redundant macro definitions in hns drivers.
And change the .h file containing relation to make the layers
more clearly
Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Signed-off-by: Weiwei Deng <dengweiwei@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c b/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c index 2d0cb609adc3..193248f754a1 100644 --- a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c +++ b/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c @@ -18,9 +18,6 @@ #include "hns_dsaf_rcb.h" #define AE_NAME_PORT_ID_IDX 6 -#define ETH_STATIC_REG 1 -#define ETH_DUMP_REG 5 -#define ETH_GSTRING_LEN 32 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) { |