diff --git a/reactos/ntoskrnl/ex/list.c b/reactos/ntoskrnl/ex/list.c index 4a0727215e0..ddb57fc3692 100644 --- a/reactos/ntoskrnl/ex/list.c +++ b/reactos/ntoskrnl/ex/list.c @@ -459,11 +459,6 @@ InterlockedPopEntrySList(IN PSLIST_HEADER ListHead) newslh.Sequence = oldslh.Sequence + 1; newslh.Depth = oldslh.Depth - 1; newslh.Next.Next = MmSafeReadPtr(&le->Next); - if(newslh.Next.Next == NULL) - { - /* try again */ - continue; - } } while(ExfInterlockedCompareExchange64(&ListHead->Alignment, &newslh.Alignment, &oldslh.Alignment) != oldslh.Alignment);