These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
lib/lpm/rte_lpm.c | 7 -------
lib/lpm/rte_lpm.h | 4 ----
lib/lpm/rte_lpm6.c | 7 -------
lib/lpm/rte_lpm6.h | 1 -
4 files changed, 19 deletions(-)
@@ -6,22 +6,15 @@
#include <string.h>
#include <stdint.h>
#include <errno.h>
-#include <stdarg.h>
#include <stdio.h>
#include <sys/queue.h>
#include <rte_log.h>
-#include <rte_branch_prediction.h>
#include <rte_common.h>
-#include <rte_memory.h> /* for definition of RTE_CACHE_LINE_SIZE */
#include <rte_malloc.h>
-#include <rte_eal.h>
#include <rte_eal_memconfig.h>
-#include <rte_per_lcore.h>
#include <rte_string_fns.h>
#include <rte_errno.h>
-#include <rte_rwlock.h>
-#include <rte_spinlock.h>
#include <rte_tailq.h>
#include "rte_lpm.h"
@@ -12,13 +12,9 @@
*/
#include <errno.h>
-#include <sys/queue.h>
#include <stdint.h>
-#include <stdlib.h>
#include <rte_branch_prediction.h>
#include <rte_byteorder.h>
-#include <rte_config.h>
-#include <rte_memory.h>
#include <rte_common.h>
#include <rte_vect.h>
#include <rte_rcu_qsbr.h>
@@ -4,23 +4,16 @@
#include <string.h>
#include <stdint.h>
#include <errno.h>
-#include <stdarg.h>
#include <stdio.h>
#include <sys/queue.h>
#include <rte_log.h>
-#include <rte_branch_prediction.h>
#include <rte_common.h>
-#include <rte_memory.h>
#include <rte_malloc.h>
#include <rte_memcpy.h>
-#include <rte_eal.h>
#include <rte_eal_memconfig.h>
-#include <rte_per_lcore.h>
#include <rte_string_fns.h>
#include <rte_errno.h>
-#include <rte_rwlock.h>
-#include <rte_spinlock.h>
#include <rte_hash.h>
#include <assert.h>
#include <rte_jhash.h>
@@ -10,7 +10,6 @@
*/
#include <stdint.h>
-#include <rte_compat.h>
#ifdef __cplusplus
extern "C" {