mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 07:46:51 +07:00
net: hns3: remove some unused macros related to queue
There are several macros related queue defined, but never used, so remove them. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
50626bcdbe
commit
3d93fda0bf
@ -42,13 +42,8 @@ enum hns3_nic_state {
|
||||
#define HNS3_RING_TX_RING_PKTNUM_RECORD_REG 0x0006C
|
||||
#define HNS3_RING_TX_RING_EBD_OFFSET_REG 0x00070
|
||||
#define HNS3_RING_TX_RING_BD_ERR_REG 0x00074
|
||||
#define HNS3_RING_PREFETCH_EN_REG 0x0007C
|
||||
#define HNS3_RING_CFG_VF_NUM_REG 0x00080
|
||||
#define HNS3_RING_ASID_REG 0x0008C
|
||||
#define HNS3_RING_EN_REG 0x00090
|
||||
|
||||
#define HNS3_TX_REG_OFFSET 0x40
|
||||
|
||||
#define HNS3_RX_HEAD_SIZE 256
|
||||
|
||||
#define HNS3_TX_TIMEOUT (5 * HZ)
|
||||
|
Loading…
Reference in New Issue
Block a user