Fix ACPI cache causing some undefined behavior

This commit is contained in:
2024-06-06 21:52:41 +02:00
parent 92e861ebae
commit 829fc49aac

View File

@@ -316,9 +316,6 @@ HlpQueryAcpiCache(IN ULONG Signature,
PACPI_CACHE_LIST AcpiCache;
PLIST_ENTRY ListEntry;
/* Assume ACPI table not cached */
*AcpiTable = NULL;
/* Iterate through ACPI tables cache list */
ListEntry = HlpAcpiCacheList.Flink;
while(ListEntry != &HlpAcpiCacheList)