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)
commit9c6f7e43b4e02c161b53e97ba913855246876c61
treef305ceacff1af61d53bcdd403fced5fef54a7ef0
parenta93d2f1744206827ccf416e2cdc5018aa503314e
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-3fc1f1e27a5b807791d72e5d992aa33b668a6626@git.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/stop_machine.c