[v2] lib/librte_lpm: remove recursively included header file

Message ID 1547083942-15690-1-git-send-email-zhang.congwen@zte.com.cn
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series
  • [v2] lib/librte_lpm: remove recursively included header file
Related show

Checks

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

Commit Message

Congwen Zhang Jan. 10, 2019, 1:32 a.m.
includes itself: rte_lpm.h -> rte_lpm_sse.h -> rte_lpm.h
includes itself: rte_lpm.h -> rte_lpm_neon.h -> rte_lpm.h

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

Comments

Thomas Monjalon Jan. 28, 2019, 12:01 a.m. | #1
10/01/2019 02:32, Congwen Zhang:
> includes itself: rte_lpm.h -> rte_lpm_sse.h -> rte_lpm.h
> includes itself: rte_lpm.h -> rte_lpm_neon.h -> rte_lpm.h
> 
> Signed-off-by: Congwen Zhang <zhang.congwen@zte.com.cn>

Applied, thanks

Patch

diff --git a/lib/librte_lpm/rte_lpm_neon.h b/lib/librte_lpm/rte_lpm_neon.h
index 4fd33f3..28c8159 100644
--- a/lib/librte_lpm/rte_lpm_neon.h
+++ b/lib/librte_lpm/rte_lpm_neon.h
@@ -43,7 +43,6 @@ 
 #include <rte_byteorder.h>
 #include <rte_common.h>
 #include <rte_vect.h>
-#include <rte_lpm.h>
 
 #ifdef __cplusplus
 extern "C" {
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" {