[NTOS:EX]
authorDmitry Chapyshev <dmitry@reactos.org>
Mon, 29 Aug 2016 21:11:01 +0000 (21:11 +0000)
committerDmitry Chapyshev <dmitry@reactos.org>
Mon, 29 Aug 2016 21:11:01 +0000 (21:11 +0000)
- Remove duplicate check

svn path=/trunk/; revision=72507

reactos/ntoskrnl/ex/handle.c

index c92348b..b9732f3 100644 (file)
@@ -1246,8 +1246,7 @@ ExEnumHandleTable(IN PHANDLE_TABLE HandleTable,
     while ((HandleTableEntry = ExpLookupHandleTableEntry(HandleTable, Handle)))
     {
         /* Validate the entry */
-        if ((HandleTableEntry) &&
-            (HandleTableEntry->Object) &&
+        if ((HandleTableEntry->Object) &&
             (HandleTableEntry->NextFreeTableEntry != -2))
         {
             /* Lock the entry */