Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367588
b: refs/heads/master
c: 60f3deb
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Apr 12, 2013
1 parent 642462b commit 080ebbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 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: 663b95f23508b85b9dc162f3f896a8d2be3d46c7
refs/heads/master: 60f3deb54f413404f3aa1190e48b154481413a39
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/acpica/acutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ struct acpi_pkg_info {
u32 num_packages;
};

/* Object reference counts */

#define REF_INCREMENT (u16) 0
#define REF_DECREMENT (u16) 1
#define REF_FORCE_DELETE (u16) 2

/* acpi_ut_dump_buffer */

Expand Down
14 changes: 1 addition & 13 deletions trunk/drivers/acpi/acpica/utdelete.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,17 +424,6 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
}
break;

case REF_FORCE_DELETE:

ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS,
"Obj %p Refs=%X, Force delete! (Set to 0)\n",
object, count));

new_count = 0;
object->common.reference_count = new_count;
acpi_ut_delete_internal_obj(object);
break;

default:

ACPI_ERROR((AE_INFO, "Unknown action (0x%X)", action));
Expand All @@ -458,8 +447,7 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
*
* PARAMETERS: object - Increment ref count for this object
* and all sub-objects
* action - Either REF_INCREMENT or REF_DECREMENT or
* REF_FORCE_DELETE
* action - Either REF_INCREMENT or REF_DECREMENT
*
* RETURN: Status
*
Expand Down

0 comments on commit 080ebbc

Please sign in to comment.