ACPI: remove duplicated lines of merging problems with acpi_processor_add
authorYinghai Lu <yinghai@kernel.org>
Tue, 7 Feb 2012 16:20:37 +0000 (08:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Feb 2012 22:31:35 +0000 (14:31 -0800)
Those lines have two copies.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/processor_driver.c

index 2b805d7..8ae05ce 100644 (file)
@@ -586,13 +586,6 @@ static int __cpuinit acpi_processor_add(struct acpi_device *device)
        if (pr->flags.need_hotplug_init)
                return 0;
 
-       /*
-        * Do not start hotplugged CPUs now, but when they
-        * are onlined the first time
-        */
-       if (pr->flags.need_hotplug_init)
-               return 0;
-
        result = acpi_processor_start(pr);
        if (result)
                goto err_remove_sysfs;