[PATCH v6 11/50] sched: remove unneeded header includes
Sean Morrissey
sean.morrissey at intel.com
Wed Feb 2 10:47:23 CET 2022
These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey at intel.com>
---
lib/sched/rte_pie.c | 2 --
lib/sched/rte_red.h | 1 -
lib/sched/rte_sched.c | 1 -
lib/sched/rte_sched.h | 1 -
4 files changed, 5 deletions(-)
diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c
index 934e9aee50..cdb7bab697 100644
--- a/lib/sched/rte_pie.c
+++ b/lib/sched/rte_pie.c
@@ -5,8 +5,6 @@
#include <stdlib.h>
#include "rte_pie.h"
-#include <rte_common.h>
-#include <rte_cycles.h>
#include <rte_malloc.h>
#ifdef __INTEL_COMPILER
diff --git a/lib/sched/rte_red.h b/lib/sched/rte_red.h
index f5843dab1b..80b43b6da0 100644
--- a/lib/sched/rte_red.h
+++ b/lib/sched/rte_red.h
@@ -18,7 +18,6 @@ extern "C" {
#include <stdint.h>
#include <limits.h>
-#include <rte_common.h>
#include <rte_debug.h>
#include <rte_cycles.h>
#include <rte_branch_prediction.h>
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 62b3d2e315..e5c62e3d77 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -7,7 +7,6 @@
#include <rte_common.h>
#include <rte_log.h>
-#include <rte_memory.h>
#include <rte_malloc.h>
#include <rte_cycles.h>
#include <rte_prefetch.h>
diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sched.h
index 3c625ba169..5ece64e527 100644
--- a/lib/sched/rte_sched.h
+++ b/lib/sched/rte_sched.h
@@ -56,7 +56,6 @@ extern "C" {
*
*/
-#include <sys/types.h>
#include <rte_compat.h>
#include <rte_mbuf.h>
#include <rte_meter.h>
--
2.25.1
More information about the dev
mailing list