[PATCH v1 18/19] timer: remove unneeded header includes
Stephen Hemminger
stephen at networkplumber.org
Thu Apr 21 22:08:27 CEST 2022
On Thu, 21 Apr 2022 19:08:58 +0000
Sean Morrissey <sean.morrissey at intel.com> wrote:
> diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
> index c51a393e5c..f52ccc33ed 100644
> --- a/lib/timer/rte_timer.c
> +++ b/lib/timer/rte_timer.c
> @@ -5,12 +5,9 @@
> #include <stdio.h>
> #include <stdint.h>
> #include <stdbool.h>
> -#include <inttypes.h>
> #include <assert.h>
> -#include <sys/queue.h>
>
> #include <rte_common.h>
> -#include <rte_cycles.h>
> #include <rte_eal_memconfig.h>
> #include <rte_memory.h>
> #include <rte_lcore.h>
This doesn't look right.
rte_timer.c relies on rte_get_timer_cycles() which is defined in
rte_cycles.h
Perhaps iwyu is getting confused, or thinking that is already covered
by another include file?
More information about the dev
mailing list