Add a missing return in NULL mutex case.

Submitted by:	Pawel Worach (pawel dot worach at gmail dot com)
This commit is contained in:
Jung-uk Kim 2009-06-22 17:46:55 +00:00
parent 6ac937c89c
commit 435f8ce5b8

View File

@ -417,9 +417,11 @@ AcpiOsReleaseMutex(ACPI_MUTEX Handle)
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
if (am == NULL)
if (am == NULL) {
ACPI_DEBUG_PRINT((ACPI_DB_MUTEX,
"cannot release null mutex\n"));
return_VOID;
}
mtx_lock(&am->am_lock);