ACPI: processor: refactor internal map_lsapic_id()
authorAlex Chiang <achiang@hp.com>
Mon, 22 Feb 2010 19:11:55 +0000 (12:11 -0700)
committerLen Brown <len.brown@intel.com>
Mon, 15 Mar 2010 01:17:25 +0000 (21:17 -0400)
commiteae701ceadf5aa3fc3b334029ef71f6885ef1cde
treef29640511c27d52a953db35d8716e7c309f0a2f6
parentd67420956b7b1dcffb894b2f1f81b9408fca1b4c
ACPI: processor: refactor internal map_lsapic_id()

Un-nest the if statements for readability.

Remove comments that re-state the obvious.

Change the control flow so that we no longer need a temp variable.

Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c