Skip to contentSkip to conversation

sched/fair: Remove sg_lb_stats forward declaration

PATCH RESEND New Bing Huang 1 participant 1 message Aug 13, 2024 Scheduler

lore
Share & tools
lore

Bing Huang

author
#0 lore raw

PATCH RESEND 1/1 sched/fair: Remove sg_lb_stats forward declaration

From: Bing Huang <[email protected]>

struct sg_lb_stats has already been declared previously, so there is no need for a forward declaration

---
 kernel/sched/fair.c | 3 ---
 1 file changed, 3 deletions(-)
kernel/sched/fair.c +0 -3
index 41b58387023d..5a94769f1f2d 100644
@@ -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.
  */
Signature · 1 line
2.25.1