diff options
Diffstat (limited to 'source/components/namespace/nsxfobj.c')
-rw-r--r-- | source/components/namespace/nsxfobj.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/components/namespace/nsxfobj.c b/source/components/namespace/nsxfobj.c index 6fed2b8709c3..b23c32e02d36 100644 --- a/source/components/namespace/nsxfobj.c +++ b/source/components/namespace/nsxfobj.c @@ -81,10 +81,8 @@ AcpiGetType ( return (AE_BAD_PARAMETER); } - /* - * Special case for the predefined Root Node - * (return type ANY) - */ + /* Special case for the predefined Root Node (return type ANY) */ + if (Handle == ACPI_ROOT_OBJECT) { *RetType = ACPI_TYPE_ANY; @@ -108,7 +106,6 @@ AcpiGetType ( *RetType = Node->Type; - Status = AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE); return (Status); } |