]> git.baikalelectronics.ru Git - kernel.git/commit
stop_machine: Move local variable closer to the usage site in cpu_stop_cpu_callback()
authorIngo Molnar <mingo@elte.hu>
Mon, 17 May 2010 22:17:44 +0000 (00:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 17 May 2010 22:17:44 +0000 (00:17 +0200)
commit053eebcbf6221230e7702be09e71316b08915cb8
treef305ceacff1af61d53bcdd403fced5fef54a7ef0
parent3fe4ce64c0d174f8b36e240edea5691a69c87870
stop_machine: Move local variable closer to the usage site in cpu_stop_cpu_callback()

This addresses the following compiler warning:

 kernel/stop_machine.c: In function 'cpu_stop_cpu_callback':
 kernel/stop_machine.c:297: warning: unused variable 'work'

Cc: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <tip-6e6d2d23b7363dfef63025261d6c670b44b766b2@git.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/stop_machine.c