[NTOS:KE] KeRemoveQueueDpc(): Use KeRestoreInterrupts()

This commit is contained in:
Hermès Bélusca-Maïto 2024-12-06 20:47:23 +01:00
parent da59d797d1
commit 08ed0988ff
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -905,7 +905,7 @@ KeRemoveQueueDpc(IN PKDPC Dpc)
}
/* Re-enable interrupts */
if (Enable) _enable();
KeRestoreInterrupts(Enable);
/* Return if the DPC was in the queue or not */
return DpcData ? TRUE : FALSE;