Skip to contentSkip to conversation

sched: remove struct sg_lb_stats declaration

PATCH In review Hui Su 2 participants 2 messages Aug 26, 2022 – Sep 23, 2022 Scheduler

lore
Share & tools
lore

Hui Su

author
#0 lore raw

PATCH 1/1 sched: remove struct sg_lb_stats declaration

remove unnecessary struct sg_lb_stats declaration

Fixes 57abff067a08 ("sched/fair: Rework find_idlest_group()")
---
 kernel/sched/fair.c | 3 ---
 1 file changed, 3 deletions(-)
kernel/sched/fair.c +0 -3
index 914096c5b1ae..54bacf635362 100644
@@ -9050,9 +9050,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.34.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Hui Su

remove unnecessary struct sg_lb_stats declaration

Fixes 57abff067a08 ("sched/fair: Rework find_idlest_group()")
Quoted 20 lines
---
 kernel/sched/fair.c | 3 ---
 1 file changed, 3 deletions(-)
kernel/sched/fair.c +0 -4
index 914096c5b1ae..54bacf635362 100644
@@ -9050,9 +9050,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.34.1