remove obsolete check in InterlockedPopEntrySList()
Modified: trunk/reactos/ntoskrnl/ex/list.c

Modified: trunk/reactos/ntoskrnl/ex/list.c
--- trunk/reactos/ntoskrnl/ex/list.c	2005-02-22 01:07:41 UTC (rev 13709)
+++ trunk/reactos/ntoskrnl/ex/list.c	2005-02-22 09:35:59 UTC (rev 13710)
@@ -459,11 +459,6 @@
     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);