[PATCH RESEND] sched/fair: Remove sg_lb_stats forward declaration

Bing Huang posted 1 patch 1 month, 2 weeks ago
There is a newer version of this series
kernel/sched/fair.c | 3 ---
1 file changed, 3 deletions(-)
[PATCH RESEND] sched/fair: Remove sg_lb_stats forward declaration
Posted by Bing Huang 1 month, 2 weeks ago
From: Bing Huang <huangbing@kylinos.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@kylinos.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