]> git.hungrycats.org Git - linux/commitdiff
ACPI: If notify handler fails to be removed properly, don't just return, but
authorAndy Grover <agrover@groveronline.com>
Tue, 29 Jul 2003 07:16:06 +0000 (00:16 -0700)
committerAndy Grover <agrover@groveronline.com>
Tue, 29 Jul 2003 07:16:06 +0000 (00:16 -0700)
clean up other resources too (Daniele Bellucci)

drivers/acpi/processor.c

index 3c504f6bb50cf0444465a8e25c37b106e44f06af..be18584fab79a8227a14c848d340d280ad92c9e1 100644 (file)
@@ -1781,7 +1781,6 @@ acpi_processor_remove (
        if (ACPI_FAILURE(status)) {
                ACPI_DEBUG_PRINT((ACPI_DB_ERROR, 
                        "Error removing notify handler\n"));
-               return_VALUE(-ENODEV);
        }
 
        acpi_processor_remove_fs(device);