net/hns3: delete redundant macro
PATCH 1/1 net/hns3: delete redundant macro
'HNS3_RXD_TSIND_S' and 'HNS3_RXD_TSIND_M' is unused, which should be deleted.
This patch fixed it.
Fixes bba636698316 ("net/hns3: support Rx/Tx and related operations")
Signed-off-by Min Hu (Connor) <[email protected]>
--- drivers/net/hns3/hns3_rxtx.h | 2 -- 1 file changed, 2 deletions(-)
drivers/net/hns3/hns3_rxtx.h +0 -2
@@ -104,8 +104,6 @@#define HNS3_RXD_LUM_B 9#define HNS3_RXD_CRCP_B 10#define HNS3_RXD_L3L4P_B 11 -#define HNS3_RXD_TSIND_S 12 -#define HNS3_RXD_TSIND_M (0x7 << HNS3_RXD_TSIND_S)#define HNS3_RXD_TS_VLD_B 14#define HNS3_RXD_LKBK_B 15
Signature · 1 line
2.7.4
Ferruh Yigit
AppliedQuoted 9 lines · Min Hu (Connor)
'
HNS3_RXD_TSIND_S' and 'HNS3_RXD_TSIND_M' is unused, which should be deleted.This patch fixed it.
Fixes bba636698316 ("net/hns3: support Rx/Tx and related operations")Signed-off-by Min Hu (Connor) <[email protected]>
Applied to dpdk-next-net/main, thanks.