[v1,16/19] stack: remove unneeded header includes
Checks
Commit Message
These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
lib/stack/rte_stack.h | 1 -
1 file changed, 1 deletion(-)
Comments
On Thu, 21 Apr 2022 19:08:56 +0000
Sean Morrissey <sean.morrissey@intel.com> wrote:
> These header includes have been flagged by the iwyu_tool
> and removed.
>
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
> lib/stack/rte_stack.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h
> index 91fc570767..af8c3804f3 100644
> --- a/lib/stack/rte_stack.h
> +++ b/lib/stack/rte_stack.h
> @@ -22,7 +22,6 @@ extern "C" {
> #include <rte_debug.h>
> #include <rte_errno.h>
> #include <rte_memzone.h>
> -#include <rte_spinlock.h>
This file is using rte_spinlock_t so where is it getting defined?
@@ -22,7 +22,6 @@ extern "C" {
#include <rte_debug.h>
#include <rte_errno.h>
#include <rte_memzone.h>
-#include <rte_spinlock.h>
#define RTE_TAILQ_STACK_NAME "RTE_STACK"
#define RTE_STACK_MZ_PREFIX "STK_"