Remove redundant checks for ACPI_WAIT_FOREVER cases.
This commit is contained in:
parent
4e6c3f31a2
commit
8e7d7973ac
@ -185,8 +185,6 @@ AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout)
|
||||
status = AE_ERROR;
|
||||
break;
|
||||
}
|
||||
if (ACPISEM_AVAIL(as, Units))
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
@ -380,8 +378,6 @@ AcpiOsAcquireMutex(ACPI_MUTEX Handle, UINT16 Timeout)
|
||||
status = AE_ERROR;
|
||||
break;
|
||||
}
|
||||
if (ACPIMTX_AVAIL(am))
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user