ACPI processor: Remove unneeded variable passed by acpi_processor_hotadd_init V2
authorThomas Renninger <trenn@suse.de>
Tue, 17 Jan 2012 21:40:07 +0000 (22:40 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 18 Jan 2012 04:58:07 +0000 (23:58 -0500)
commit3bd81a8710710f8bf5d1a5ebac315c842c20bdd3
treee22e863c7bcecb9af00f36d83c5c29886dfa3566
parent5e7590d40dc59d5c1889d9e70c9da1f1df3918c6
ACPI processor: Remove unneeded variable passed by acpi_processor_hotadd_init V2

V2: Fix typo: pr->handle -> pr, here: acpi_processor_hotadd_init(pr)

This is a very small part taken from patches which afaik
are coming from Yunhong Jiang (for a Xen not a Linus repo?).

Cleanup only: no functional change.

Advantage (beside cleanup) is that other data of the pr (acpi_processor) struct
in the acpi_processor_hotadd_init() is needed later, for example a newly
introduced flag:
pr->flags.need_hotplug_init

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: Bjorn Helgaas <bhelgaas@google.com>
CC: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_driver.c