Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95418
b: refs/heads/master
c: f654ecb
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Apr 22, 2008
1 parent bdd1949 commit 84fa16a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 40 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 773069d48030e670cf2032a13ddf16a2e0034df3
refs/heads/master: f654ecbfacb47d20e8cac087bbada1b947db846b
9 changes: 0 additions & 9 deletions trunk/drivers/acpi/executer/exdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,15 +500,6 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth)
acpi_os_printf("Reference: Debug\n");
break;

case AML_NAME_OP:

ACPI_DUMP_PATHNAME(obj_desc->reference.object,
"Reference: Name: ", ACPI_LV_INFO,
_COMPONENT);
ACPI_DUMP_ENTRY(obj_desc->reference.object,
ACPI_LV_INFO);
break;

case AML_INDEX_OP:

acpi_os_printf("Reference: Index %p\n",
Expand Down
18 changes: 0 additions & 18 deletions trunk/drivers/acpi/executer/exresolv.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
{
acpi_status status = AE_OK;
union acpi_operand_object *stack_desc;
void *temp_node;
union acpi_operand_object *obj_desc = NULL;
u16 opcode;

Expand All @@ -156,23 +155,6 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
opcode = stack_desc->reference.opcode;

switch (opcode) {
case AML_NAME_OP:

/*
* Convert name reference to a namespace node
* Then, acpi_ex_resolve_node_to_value can be used to get the value
*/
temp_node = stack_desc->reference.object;

/* Delete the Reference Object */

acpi_ut_remove_reference(stack_desc);

/* Return the namespace node */

(*stack_ptr) = temp_node;
break;

case AML_LOCAL_OP:
case AML_ARG_OP:

Expand Down
11 changes: 0 additions & 11 deletions trunk/drivers/acpi/executer/exresop.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ acpi_ex_resolve_operands(u16 opcode,
union acpi_operand_object *obj_desc;
acpi_status status = AE_OK;
u8 object_type;
void *temp_node;
u32 arg_types;
const struct acpi_opcode_info *op_info;
u32 this_arg_type;
Expand Down Expand Up @@ -239,7 +238,6 @@ acpi_ex_resolve_operands(u16 opcode,

/*lint -fallthrough */

case AML_NAME_OP:
case AML_INDEX_OP:
case AML_REF_OF_OP:
case AML_ARG_OP:
Expand Down Expand Up @@ -332,15 +330,6 @@ acpi_ex_resolve_operands(u16 opcode,
if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
}

if (obj_desc->reference.opcode == AML_NAME_OP) {

/* Convert a named reference to the actual named object */

temp_node = obj_desc->reference.object;
acpi_ut_remove_reference(obj_desc);
(*stack_ptr) = temp_node;
}
goto next_operand;

case ARGI_DATAREFOBJ: /* Store operator only */
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/acpi/executer/exstore.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ acpi_ex_store(union acpi_operand_object *source_desc,
* 4) Store to the debug object
*/
switch (ref_desc->reference.opcode) {
case AML_NAME_OP:
case AML_REF_OF_OP:

/* Storing an object into a Name "container" */
Expand Down

0 comments on commit 84fa16a

Please sign in to comment.