[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240706083540.47420-1-huangbing775@126.com>
Date: Sat, 6 Jul 2024 16:35:40 +0800
From: Bing Huang <huangbing775@....com>
To: vincent.guittot@...aro.org
Cc: dietmar.eggemann@....com,
rostedt@...dmis.org,
brauner@...nel.org,
bristot@...hat.com,
bsegall@...gle.com,
juri.lelli@...hat.com,
linux-kernel@...r.kernel.org,
mgorman@...e.de,
mingo@...hat.com,
peterz@...radead.org
Subject: [PATCH] sched/fair: Remove sg_lb_stats forward declaration
From: Bing Huang <huangbing@...inos.cn>
struct sg_lb_stats has already been declared previously,
so there is no need for a forward declaration
Signed-off-by: Bing Huang <huangbing@...inos.cn>
---
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
Powered by blists - more mailing lists