Don't remove the WaitEntry twice (in KiInsertQueue).

svn path=/trunk/; revision=20761
This commit is contained in:
Hartmut Birr 2006-01-10 00:00:14 +00:00
parent 30ed70a62f
commit 955a80297f

View file

@ -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)
{