diff options
| author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2012-03-22 08:59:24 -0400 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-06 12:13:30 -0400 |
| commit | e8c9e788f493d3236809e955c9fc12625a461e09 (patch) | |
| tree | ef64765210cbd212a3e3a82403e0285cc2dff114 | |
| parent | 2531d64b6fe2724dc432b67d8dc66bd45621da0b (diff) | |
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>
| -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 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) | |||
| 59 | 59 | ||
| 60 | static void __cpuinit cpu_bringup(void) | 60 | static void __cpuinit cpu_bringup(void) |
| 61 | { | 61 | { |
| 62 | int cpu = smp_processor_id(); | 62 | int cpu; |
| 63 | 63 | ||
| 64 | cpu_init(); | 64 | cpu_init(); |
| 65 | touch_softlockup_watchdog(); | 65 | touch_softlockup_watchdog(); |
