net: hns3: remove unused macro definition
Some macros are defined but unused, so remove them. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
11ef971f5a
Коммит
7ceb40b820
|
@ -46,15 +46,12 @@
|
|||
#define HCLGE_CMDQ_RX_DEPTH_REG 0x27020
|
||||
#define HCLGE_CMDQ_RX_TAIL_REG 0x27024
|
||||
#define HCLGE_CMDQ_RX_HEAD_REG 0x27028
|
||||
#define HCLGE_CMDQ_INTR_SRC_REG 0x27100
|
||||
#define HCLGE_CMDQ_INTR_STS_REG 0x27104
|
||||
#define HCLGE_CMDQ_INTR_EN_REG 0x27108
|
||||
#define HCLGE_CMDQ_INTR_GEN_REG 0x2710C
|
||||
|
||||
/* bar registers for common func */
|
||||
#define HCLGE_VECTOR0_OTER_EN_REG 0x20600
|
||||
#define HCLGE_RAS_OTHER_STS_REG 0x20B00
|
||||
#define HCLGE_FUNC_RESET_STS_REG 0x20C00
|
||||
#define HCLGE_GRO_EN_REG 0x28000
|
||||
|
||||
/* bar registers for rcb */
|
||||
|
|
|
@ -278,7 +278,6 @@ struct hclgevf_cfg_tx_queue_pointer_cmd {
|
|||
|
||||
#define HCLGEVF_NIC_CMQ_DESC_NUM 1024
|
||||
#define HCLGEVF_NIC_CMQ_DESC_NUM_S 3
|
||||
#define HCLGEVF_NIC_CMDQ_INT_SRC_REG 0x27100
|
||||
|
||||
#define HCLGEVF_QUERY_DEV_SPECS_BD_NUM 4
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче