From: Hartmut Birr Date: Tue, 10 Jan 2006 00:00:14 +0000 (+0000) Subject: Don't remove the WaitEntry twice (in KiInsertQueue). X-Git-Tag: backups/expat-rbuild@40467~403 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=955a80297f7a0885d98c636d08558e6cbd134bbe Don't remove the WaitEntry twice (in KiInsertQueue). svn path=/trunk/; revision=20761 --- diff --git a/reactos/ntoskrnl/ke/queue.c b/reactos/ntoskrnl/ke/queue.c index 1bccc288b1c..5dd7bce60ab 100644 --- a/reactos/ntoskrnl/ke/queue.c +++ b/reactos/ntoskrnl/ke/queue.c @@ -470,9 +470,6 @@ KiInsertQueue(IN PKQUEUE Queue, Queue->CurrentCount++; Thread->WaitStatus = (NTSTATUS)Entry; - /* Remove the thread from its wait list */ - RemoveEntryList(&Thread->WaitListEntry); - /* Check if there's a Thread Timer */ if (Thread->Timer.Header.Inserted) {