]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitead9ae5599c52ec166b92ba31365fb2b1ec75f39
treee22e863c7bcecb9af00f36d83c5c29886dfa3566
parent0796f0c8437124c9fa35a35f604613309723f3c4
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