[dpdk-dev] [PATCH v2] lib/librte_lpm: remove recursively included header file

Congwen Zhang zhang.congwen at zte.com.cn
Thu Jan 10 02:32:22 CET 2019


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 at zte.com.cn>
---
 lib/librte_lpm/rte_lpm_neon.h | 1 -
 lib/librte_lpm/rte_lpm_sse.h  | 1 -
 2 files changed, 2 deletions(-)

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" {
-- 
1.8.3.1



More information about the dev mailing list