git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2cd696
)
net/hns3: remove unused macros
author
Min Hu (Connor)
<humin29@huawei.com>
Mon, 19 Apr 2021 08:13:31 +0000
(16:13 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 19 Apr 2021 16:25:42 +0000
(18:25 +0200)
'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")
Cc: stable@dpdk.org
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_rxtx.h
patch
|
blob
|
history
diff --git
a/drivers/net/hns3/hns3_rxtx.h
b/drivers/net/hns3/hns3_rxtx.h
index
ad85d0d
..
696f347
100644
(file)
--- a/
drivers/net/hns3/hns3_rxtx.h
+++ b/
drivers/net/hns3/hns3_rxtx.h
@@
-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