Re: [PATCH] sched: remove struct sg_lb_stats declaration

From: Valentin Schneider
Date: Fri Sep 23 2022 - 11:44:45 EST


On 26/08/22 15:57, Hui Su wrote:
> remove unnecessary struct sg_lb_stats declaration
>
> Fixes: 57abff067a08 ("sched/fair: Rework find_idlest_group()")
> Signed-off-by: Hui Su <suhui_kernel@xxxxxxx>

Reviewed-by: Valentin Schneider <vschneid@xxxxxxxxxx>

> ---
> kernel/sched/fair.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index 914096c5b1ae..54bacf635362 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -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