Skip to contentSkip to conversation

2.4 ACPI dispatcher/dsmthdat.c warning fix

PATCH New Krzysztof Halasa 1 participant 1 message Jan 27, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4 ACPI dispatcher/dsmthdat.c warning fix

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.

Signature · 1 line
Krzysztof Halasa, B*FH
drivers/acpi/dispatcher/dsmthdat.c +0 -1
@@ -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);
 		}