]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba85061ee0c4e07474cffa904058729cb0c4c6f5
treef29640511c27d52a953db35d8716e7c309f0a2f6
parent4dc68ca89e8d9718c70ab66fea01cc76e0d01927
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