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;
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user