mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 13:59:19 +03:00
Removed walkstate cache, not needed
date 2005.06.17.19.47.00; author rmoore1; state Exp;
This commit is contained in:
parent
6efdc6411e
commit
bf5493bcb0
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: dswstate - Dispatcher parse tree walk management routines
|
||||
* $Revision: 1.88 $
|
||||
* $Revision: 1.89 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -778,7 +778,7 @@ AcpiDsCreateWalkState (
|
||||
ACPI_FUNCTION_TRACE ("DsCreateWalkState");
|
||||
|
||||
|
||||
WalkState = AcpiUtAcquireFromCache (ACPI_MEM_LIST_WALK);
|
||||
WalkState = ACPI_MEM_CALLOCATE (sizeof (ACPI_WALK_STATE));
|
||||
if (!WalkState)
|
||||
{
|
||||
return_PTR (NULL);
|
||||
@ -803,7 +803,7 @@ AcpiDsCreateWalkState (
|
||||
Status = AcpiDsResultStackPush (WalkState);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
AcpiUtReleaseToCache (ACPI_MEM_LIST_WALK, WalkState);
|
||||
ACPI_MEM_FREE (WalkState);
|
||||
return_PTR (NULL);
|
||||
}
|
||||
|
||||
@ -1019,38 +1019,11 @@ AcpiDsDeleteWalkState (
|
||||
AcpiUtDeleteGenericState (State);
|
||||
}
|
||||
|
||||
AcpiUtReleaseToCache (ACPI_MEM_LIST_WALK, WalkState);
|
||||
ACPI_MEM_FREE (WalkState);
|
||||
return_VOID;
|
||||
}
|
||||
|
||||
|
||||
#ifdef ACPI_ENABLE_OBJECT_CACHE
|
||||
/******************************************************************************
|
||||
*
|
||||
* FUNCTION: AcpiDsDeleteWalkStateCache
|
||||
*
|
||||
* PARAMETERS: None
|
||||
*
|
||||
* RETURN: None
|
||||
*
|
||||
* DESCRIPTION: Purge the global state object cache. Used during subsystem
|
||||
* termination.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
void
|
||||
AcpiDsDeleteWalkStateCache (
|
||||
void)
|
||||
{
|
||||
ACPI_FUNCTION_TRACE ("DsDeleteWalkStateCache");
|
||||
|
||||
|
||||
AcpiUtDeleteGenericCache (ACPI_MEM_LIST_WALK);
|
||||
return_VOID;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef ACPI_OBSOLETE_FUNCTIONS
|
||||
/*******************************************************************************
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user