diff options
author | msmith <msmith@FreeBSD.org> | 2001-09-07 01:22:25 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-09-07 01:22:25 +0000 |
commit | 9d39e615a85d5e81e8442ec3bf65c8dff5e393c5 (patch) | |
tree | ba0c24c50a259baa38d43cef66fae1699ec4f152 /sys/contrib/dev/acpica/dsmthdat.c | |
parent | 56186efdbc469312f31299676d1ef2e2d891ec25 (diff) | |
download | FreeBSD-src-9d39e615a85d5e81e8442ec3bf65c8dff5e393c5.zip FreeBSD-src-9d39e615a85d5e81e8442ec3bf65c8dff5e393c5.tar.gz |
Vendor-branch import of the Intel ACPI CA 20010831 snapshot.
Diffstat (limited to 'sys/contrib/dev/acpica/dsmthdat.c')
-rw-r--r-- | sys/contrib/dev/acpica/dsmthdat.c | 10 |
1 files changed, 2 insertions, 8 deletions
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))) { |