mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Remove redundant checks for ACPI_WAIT_FOREVER cases.
This commit is contained in:
parent
417635733e
commit
c930b91c5f
1 changed files with 0 additions and 4 deletions
|
|
@ -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 a new issue