[ros-diffs] [weiden] 13710: remove obsolete check in InterlockedPopEntrySList()

weiden at svn.reactos.com weiden at svn.reactos.com
Tue Feb 22 10:36:01 CET 2005


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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050222/b2e70446/attachment.html


More information about the Ros-diffs mailing list