aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/utdelete.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-04-11 20:25:29 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-04-12 07:29:47 -0400
commit60f3deb54f413404f3aa1190e48b154481413a39 (patch)
treef475f264b5b63c8aa2f232d7b2045ea65ed37e31 /drivers/acpi/acpica/utdelete.c
parent663b95f23508b85b9dc162f3f896a8d2be3d46c7 (diff)
ACPICA: Remove FORCE_DELETE option for global reference count mechanism
This option is not used and is obsolete. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utdelete.c')
-rw-r--r--drivers/acpi/acpica/utdelete.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/acpi/acpica/utdelete.c b/drivers/acpi/acpica/utdelete.c
index 2541de420249..fc11ad12747d 100644
--- a/drivers/acpi/acpica/utdelete.c
+++ b/drivers/acpi/acpica/utdelete.c
@@ -424,17 +424,6 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
424 } 424 }
425 break; 425 break;
426 426
427 case REF_FORCE_DELETE:
428
429 ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS,
430 "Obj %p Refs=%X, Force delete! (Set to 0)\n",
431 object, count));
432
433 new_count = 0;
434 object->common.reference_count = new_count;
435 acpi_ut_delete_internal_obj(object);
436 break;
437
438 default: 427 default:
439 428
440 ACPI_ERROR((AE_INFO, "Unknown action (0x%X)", action)); 429 ACPI_ERROR((AE_INFO, "Unknown action (0x%X)", action));
@@ -458,8 +447,7 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
458 * 447 *
459 * PARAMETERS: object - Increment ref count for this object 448 * PARAMETERS: object - Increment ref count for this object
460 * and all sub-objects 449 * and all sub-objects
461 * action - Either REF_INCREMENT or REF_DECREMENT or 450 * action - Either REF_INCREMENT or REF_DECREMENT
462 * REF_FORCE_DELETE
463 * 451 *
464 * RETURN: Status 452 * RETURN: Status
465 * 453 *