[PATCH net-next 11/14] net: hns3: delete redundant macro hnae3_dev_tqp_txrx_indep_supported

Guangbin Huang
2022-09-24T02:34:09Z

There is macro hnae3_ae_dev_tqp_txrx_indep_supported(ae_dev) can be used
in both hclge and hns3_enet layer.

The macro hnae3_dev_tqp_txrx_indep_supported(hdev) is redundant, so delete
it.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
index 0d8e0c461a31..12730cbc3bfe 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h
+++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
@@ -137,9 +137,6 @@ enum HNAE3_DEV_CAP_BITS {
#define hnae3_ae_dev_ras_imp_supported(ae_dev) \
test_bit(HNAE3_DEV_SUPPORT_RAS_IMP_B, (ae_dev)->caps)

-#define hnae3_dev_tqp_txrx_indep_supported(hdev) \
- test_bit(HNAE3_DEV_SUPPORT_TQP_TXRX_INDEP_B, (hdev)->ae_dev->caps)
-
#define hnae3_dev_hw_pad_supported(hdev) \
test_bit(HNAE3_DEV_SUPPORT_HW_PAD_B, (hdev)->ae_dev->caps)

--
2.33.0