Skip to content

Commit

Permalink
xen/smp: Remove unnecessary call to smp_processor_id()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Srivatsa S. Bhat authored and Konrad Rzeszutek Wilk committed Apr 6, 2012
1 parent 2531d64 commit e8c9e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e8c9e78

Please sign in to comment.