diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2012-03-22 18:29:24 +0530 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-06 12:13:30 -0400 |
commit | e8c9e788f493d3236809e955c9fc12625a461e09 (patch) | |
tree | ef64765210cbd212a3e3a82403e0285cc2dff114 /arch/x86/xen/smp.c | |
parent | 2531d64b6fe2724dc432b67d8dc66bd45621da0b (diff) | |
download | op-kernel-dev-e8c9e788f493d3236809e955c9fc12625a461e09.zip op-kernel-dev-e8c9e788f493d3236809e955c9fc12625a461e09.tar.gz |
xen/smp: Remove unnecessary call to smp_processor_id()
There is an extra and unnecessary call to smp_processor_id()
in cpu_bringup(). Remove it.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/smp.c')
-rw-r--r-- | arch/x86/xen/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 240def4..e845555 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -59,7 +59,7 @@ static irqreturn_t xen_reschedule_interrupt(int irq, void *dev_id) static void __cpuinit cpu_bringup(void) { - int cpu = smp_processor_id(); + int cpu; cpu_init(); touch_softlockup_watchdog(); |