diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-11-03 13:15:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-05 18:01:48 -0800 |
commit | a5ec65169c6000bb525b45cb5615dd98356dbf73 (patch) | |
tree | eb3b262444c6a7d361874eea4654a12e244cab96 /drivers/net/ethernet/hisilicon/hns3/hns3pf | |
parent | 3b7ad08b5153b0eda2f4d57ac53d815c30acd172 (diff) | |
download | linux-a5ec65169c6000bb525b45cb5615dd98356dbf73.tar.bz2 |
net: hns3: remove unused macros
The macros HCLGE_MPF_ENBALE and HCLGEVF_MPF_ENBALE are defined but never
used. I was going to fix the spelling mistake "ENBALE" -> "ENABLE" but
found these macros are not used, so they can be removed.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h index 599f76a05f41..1c0f6dfb95fc 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h @@ -225,8 +225,6 @@ enum hclge_evt_cause { HCLGE_VECTOR0_EVENT_OTHER, }; -#define HCLGE_MPF_ENBALE 1 - enum HCLGE_MAC_SPEED { HCLGE_MAC_SPEED_UNKNOWN = 0, /* unknown */ HCLGE_MAC_SPEED_10M = 10, /* 10 Mbps */ |