summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>2012-03-22 13:59:24 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-04-06 18:13:30 +0200
commite8c9e788f493d3236809e955c9fc12625a461e09 (patch)
treeef64765210cbd212a3e3a82403e0285cc2dff114 /arch
parentxen/x86: Workaround 'x86/ioapic: Add register level checks to detect bogus io... (diff)
downloadlinux-e8c9e788f493d3236809e955c9fc12625a461e09.tar.xz
linux-e8c9e788f493d3236809e955c9fc12625a461e09.zip
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')
-rw-r--r--arch/x86/xen/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index 240def438dc3..e845555ff486 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();