These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey <sean.morris...@intel.com> --- lib/cryptodev/cryptodev_pmd.h | 4 ---- lib/cryptodev/rte_cryptodev.c | 11 ----------- lib/cryptodev/rte_cryptodev.h | 2 -- 3 files changed, 17 deletions(-)
diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h index b9146f652c..8cf2da9b69 100644 --- a/lib/cryptodev/cryptodev_pmd.h +++ b/lib/cryptodev/cryptodev_pmd.h @@ -15,11 +15,7 @@ #include <string.h> -#include <rte_config.h> -#include <rte_dev.h> #include <rte_malloc.h> -#include <rte_mbuf.h> -#include <rte_mempool.h> #include <rte_log.h> #include <rte_common.h> diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c index a40536c5ea..8c1cccef0b 100644 --- a/lib/cryptodev/rte_cryptodev.c +++ b/lib/cryptodev/rte_cryptodev.c @@ -2,36 +2,25 @@ * Copyright(c) 2015-2020 Intel Corporation */ -#include <sys/types.h> #include <sys/queue.h> #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stdarg.h> #include <errno.h> #include <stdint.h> #include <inttypes.h> -#include <rte_byteorder.h> #include <rte_log.h> #include <rte_debug.h> #include <rte_dev.h> -#include <rte_interrupts.h> #include <rte_memory.h> #include <rte_memcpy.h> #include <rte_memzone.h> -#include <rte_launch.h> -#include <rte_tailq.h> #include <rte_eal.h> -#include <rte_per_lcore.h> -#include <rte_lcore.h> -#include <rte_atomic.h> -#include <rte_branch_prediction.h> #include <rte_common.h> #include <rte_mempool.h> #include <rte_malloc.h> -#include <rte_mbuf.h> #include <rte_errno.h> #include <rte_spinlock.h> #include <rte_string_fns.h> diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index 59ea5a54df..3493384fc7 100644 --- a/lib/cryptodev/rte_cryptodev.h +++ b/lib/cryptodev/rte_cryptodev.h @@ -20,9 +20,7 @@ extern "C" { #include "rte_kvargs.h" #include "rte_crypto.h" -#include "rte_dev.h" #include <rte_common.h> -#include <rte_config.h> #include <rte_rcu_qsbr.h> #include "rte_cryptodev_trace_fp.h" -- 2.25.1