Re: [PATCH 1/4] sched/numa: remove unused code from update_numa_stats()

From: Srikar Dronamraju
Date: Tue Sep 04 2018 - 02:39:23 EST


> With :
> commit 2d4056fafa19 ("sched/numa: Remove numa_has_capacity()")
>
> the local variables smt, cpus and capacity and their results are not used
> anymore in numa_has_capacity()
>
> Remove this unused code
>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx (open list)
> Signed-off-by: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
> ---
> kernel/sched/fair.c | 21 +--------------------
> 1 file changed, 1 insertion(+), 20 deletions(-)

Looks good to me.

Reviewed-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

--
Thanks and Regards
Srikar Dronamraju