Remove redundant checks for ACPI_WAIT_FOREVER cases.

This commit is contained in:
jkim 2009-06-08 20:50:38 +00:00
parent 4e6c3f31a2
commit 8e7d7973ac

View File

@ -185,8 +185,6 @@ AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout)
status = AE_ERROR; status = AE_ERROR;
break; break;
} }
if (ACPISEM_AVAIL(as, Units))
break;
} }
break; break;
default: default:
@ -380,8 +378,6 @@ AcpiOsAcquireMutex(ACPI_MUTEX Handle, UINT16 Timeout)
status = AE_ERROR; status = AE_ERROR;
break; break;
} }
if (ACPIMTX_AVAIL(am))
break;
} }
break; break;
default: default: