net/hns3: remove unused macros
The hns3_is_csq() and cmq_ring_to_dev() macro were defined in previous
version but never used.
Fixes: 737f30e1c3
("net/hns3: support command interface with firmware")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
This commit is contained in:
parent
78dbb6f999
commit
1f9d940d6d
@ -10,10 +10,6 @@
|
||||
#include "hns3_intr.h"
|
||||
#include "hns3_logs.h"
|
||||
|
||||
#define hns3_is_csq(ring) ((ring)->flag & HNS3_TYPE_CSQ)
|
||||
|
||||
#define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev)
|
||||
|
||||
static int
|
||||
hns3_ring_space(struct hns3_cmq_ring *ring)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user