[PATCH v1 17/19] table: remove unneeded header includes

Stephen Hemminger stephen at networkplumber.org
Thu Apr 21 22:09:33 CEST 2022


On Thu, 21 Apr 2022 19:08:57 +0000
Sean Morrissey <sean.morrissey at intel.com> wrote:

> These header includes have been flagged by the iwyu_tool
> and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey at intel.com>
> ---
>  lib/table/rte_swx_table_learner.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c
> index 15576c2aa3..f9d4d7faac 100644
> --- a/lib/table/rte_swx_table_learner.c
> +++ b/lib/table/rte_swx_table_learner.c
> @@ -6,7 +6,6 @@
>  #include <errno.h>
>  
>  #include <rte_common.h>
> -#include <rte_cycles.h>
>  #include <rte_prefetch.h>
>  
>  #include "rte_swx_table_learner.h"


This file is using rte_get_tsc_hz(), where is that getting defined?


More information about the dev mailing list