lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 24 Sep 2022 10:30:21 +0800 From: Guangbin Huang <huangguangbin2@...wei.com> To: <davem@...emloft.net>, <kuba@...nel.org> CC: <edumazet@...gle.com>, <pabeni@...hat.com>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, <huangguangbin2@...wei.com>, <lipeng321@...wei.com>, <lanhao@...wei.com> Subject: [PATCH net-next 11/14] net: hns3: delete redundant macro hnae3_dev_tqp_txrx_indep_supported 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@...wei.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
Powered by blists - more mailing lists