[PATCH RESEND] sched/fair: Remove sg_lb_stats forward declaration
From: Bing Huang
Date: Tue Aug 13 2024 - 09:21:10 EST
From: Bing Huang <huangbing@xxxxxxxxxx>
struct sg_lb_stats has already been declared previously,
so there is no need for a forward declaration
Signed-off-by: Bing Huang <huangbing@xxxxxxxxxx>
---
kernel/sched/fair.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 41b58387023d..5a94769f1f2d 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10203,9 +10203,6 @@ static inline enum fbq_type fbq_classify_rq(struct rq *rq)
}
#endif /* CONFIG_NUMA_BALANCING */
-
-struct sg_lb_stats;
-
/*
* task_running_on_cpu - return 1 if @p is running on @cpu.
*/
--
2.25.1