[PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix

From: Krzysztof Halasa
Date: Tue Jan 27 2004 - 17:12:46 EST


Hi,

I think this is what the author meant, i.e. we don't need to substitute
obj_desc = new_obj_desc there as it is done later in the file.

This patch doesn't change kernel behaviour, it only eliminates the
warning message.

Please apply to 2.4 kernel tree. Thanks.
--
Krzysztof Halasa, B*FH
--- linux-2.4.orig/drivers/acpi/dispatcher/dsmthdat.c 2004-01-27 21:22:26.000000000 +0100
+++ linux-2.4/drivers/acpi/dispatcher/dsmthdat.c 2004-01-27 22:41:04.000000000 +0100
@@ -601,7 +601,6 @@
new_obj_desc = obj_desc;
if (obj_desc->common.reference_count > 1) {
status = acpi_ut_copy_iobject_to_iobject (obj_desc, &new_obj_desc, walk_state);
- new_obj_desc;
if (ACPI_FAILURE (status)) {
return_ACPI_STATUS (status);
}