sched/numa: Remove unused code from update_numa_stats()
authorVincent Guittot <vincent.guittot@linaro.org>
Wed, 29 Aug 2018 13:19:09 +0000 (15:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 Sep 2018 09:05:55 +0000 (11:05 +0200)
commitd90707ebebe03596e19de3abbf79b766e72a3465
tree8f150aa4bf0d049b549cdf020e465acafdee614e
parent7e6f4c5d600c1c8e2a1d900e65cab319d9b6782e
sched/numa: Remove unused code from update_numa_stats()

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.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1535548752-4434-2-git-send-email-vincent.guittot@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c