Author: dchapyshev
Date: Sun Aug 28 19:28:41 2016
New Revision: 72492
URL:
http://svn.reactos.org/svn/reactos?rev=72492&view=rev
Log:
[NTOS:EX]
- Remove duplicate checks
Modified:
trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/sysinfo.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] Sun Aug 28 19:28:41 2016
@@ -1192,8 +1192,6 @@
{
NumberOfHandles += ObGetProcessHandleCount(Process);
Process = PsGetNextProcess(Process);
-
- if ((Process == SystemProcess) || (Process == NULL)) break;
}
while ((Process != SystemProcess) && (Process != NULL));
@@ -1263,8 +1261,6 @@
KeLeaveCriticalRegion();
Process = PsGetNextProcess(Process);
-
- if ((Process == SystemProcess) || (Process == NULL)) break;
}
while ((Process != SystemProcess) && (Process != NULL));