[dpdk-dev] net/i40e: remove redundant macros

Message ID 1487569693-27371-1-git-send-email-qiming.yang@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Qiming Yang Feb. 20, 2017, 5:48 a.m. UTC
  These macros are left by history and useless now.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
---
 drivers/net/i40e/i40e_rxtx.h | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Ferruh Yigit Feb. 20, 2017, 12:56 p.m. UTC | #1
On 2/20/2017 5:48 AM, Qiming Yang wrote:
> These macros are left by history and useless now.
> 
> Signed-off-by: Qiming Yang <qiming.yang@intel.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/drivers/net/i40e/i40e_rxtx.h b/drivers/net/i40e/i40e_rxtx.h
index f8bfc7c..d921ebd 100644
--- a/drivers/net/i40e/i40e_rxtx.h
+++ b/drivers/net/i40e/i40e_rxtx.h
@@ -34,9 +34,6 @@ 
 #ifndef _I40E_RXTX_H_
 #define _I40E_RXTX_H_
 
-#define I40E_TX_FLAG_CSUM         ((uint32_t)(1 << 0))
-#define I40E_TX_FLAG_TSYN         ((uint32_t)(1 << 2))
-
 #define RTE_PMD_I40E_RX_MAX_BURST 32
 #define RTE_PMD_I40E_TX_MAX_BURST 32