]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: hns3: remove an unused macro hclge_is_csq
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 30 May 2020 01:08:28 +0000 (09:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2020 00:41:22 +0000 (17:41 -0700)
Macro hclge_is_csq defined in hcgle_cmd.c has not been used,
so remove it.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c

index 64a1d0bdd7d1253688d5f1b311259bf02f0719c4..1d6c328bd9fbafbef8f8d8ec92f8911ac062e687 100644 (file)
@@ -11,8 +11,6 @@
 #include "hnae3.h"
 #include "hclge_main.h"
 
-#define hclge_is_csq(ring) ((ring)->flag & HCLGE_TYPE_CSQ)
-
 #define cmq_ring_to_dev(ring)   (&(ring)->dev->pdev->dev)
 
 static int hclge_ring_space(struct hclge_cmq_ring *ring)