lib/librte_lpm: remove recursively included header file

Message ID 201812030052.wB30qODU080065@mse01.zte.com.cn (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series lib/librte_lpm: remove recursively included header file |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Congwen Zhang Nov. 30, 2018, 7:57 a.m. UTC
  includes itself: rte_lpm.h -> rte_lpm_sse.h -> rte_lpm.h

Signed-off-by: Congwen Zhang <zhang.congwen@zte.com.cn>
---
 lib/librte_lpm/rte_lpm_sse.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Thomas Monjalon Dec. 19, 2018, 9:39 p.m. UTC | #1
30/11/2018 08:57, Congwen Zhang:
> includes itself: rte_lpm.h -> rte_lpm_sse.h -> rte_lpm.h

It is the same in rte_lpm_neon.h
  

Patch

diff --git a/lib/librte_lpm/rte_lpm_sse.h b/lib/librte_lpm/rte_lpm_sse.h
index 3b27e97..44770b6 100644
--- a/lib/librte_lpm/rte_lpm_sse.h
+++ b/lib/librte_lpm/rte_lpm_sse.h
@@ -9,7 +9,6 @@ 
 #include <rte_byteorder.h>
 #include <rte_common.h>
 #include <rte_vect.h>
-#include <rte_lpm.h>
 
 #ifdef __cplusplus
 extern "C" {