From 9d39e615a85d5e81e8442ec3bf65c8dff5e393c5 Mon Sep 17 00:00:00 2001 From: msmith Date: Fri, 7 Sep 2001 01:22:25 +0000 Subject: Vendor-branch import of the Intel ACPI CA 20010831 snapshot. --- sys/contrib/dev/acpica/dsmthdat.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'sys/contrib/dev/acpica/dsmthdat.c') diff --git a/sys/contrib/dev/acpica/dsmthdat.c b/sys/contrib/dev/acpica/dsmthdat.c index 7645b31..e44829d 100644 --- a/sys/contrib/dev/acpica/dsmthdat.c +++ b/sys/contrib/dev/acpica/dsmthdat.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dsmthdat - control method arguments and local variables - * $Revision: 48 $ + * $Revision: 49 $ * ******************************************************************************/ @@ -359,7 +359,6 @@ AcpiDsMethodDataGetEntry ( * Get the requested object. * The stack "Opcode" is either a LocalVariable or an Argument */ - switch (Opcode) { @@ -429,6 +428,7 @@ AcpiDsMethodDataSetEntry ( FUNCTION_TRACE ("DsMethodDataSetEntry"); + /* Get a pointer to the stack entry to set */ Status = AcpiDsMethodDataGetEntry (Opcode, Index, WalkState, &Entry); @@ -631,7 +631,6 @@ AcpiDsMethodDataGetValue ( * was referenced by the method (via the ASL) * before it was initialized. Either case is an error. */ - switch (Opcode) { case AML_ARG_OP: @@ -657,7 +656,6 @@ AcpiDsMethodDataGetValue ( * Index points to initialized and valid object stack value. * Return an additional reference to the object */ - *DestDesc = Object; AcpiUtAddReference (Object); @@ -713,7 +711,6 @@ AcpiDsMethodDataDeleteValue ( */ *Entry = NULL; - if ((Object) && (VALID_DESCRIPTOR_TYPE (Object, ACPI_DESC_TYPE_INTERNAL))) { @@ -725,7 +722,6 @@ AcpiDsMethodDataDeleteValue ( AcpiUtRemoveReference (Object); } - return_ACPI_STATUS (AE_OK); } @@ -792,7 +788,6 @@ AcpiDsStoreObjectToLocal ( * is an object reference stored there, we have to do * an indirect store! */ - if (*Entry) { /* @@ -811,7 +806,6 @@ AcpiDsStoreObjectToLocal ( * * Weird, but true. */ - if ((Opcode == AML_ARG_OP) && (VALID_DESCRIPTOR_TYPE (*Entry, ACPI_DESC_TYPE_NAMED))) { -- cgit v1.1