[NTOS:EX]

- Remove duplicate checks

svn path=/trunk/; revision=72492
This commit is contained in:
Dmitry Chapyshev 2016-08-28 19:28:41 +00:00
parent 7fe5f71795
commit f25358387b

View file

@ -1192,8 +1192,6 @@ QSI_DEF(SystemHandleInformation)
{
NumberOfHandles += ObGetProcessHandleCount(Process);
Process = PsGetNextProcess(Process);
if ((Process == SystemProcess) || (Process == NULL)) break;
}
while ((Process != SystemProcess) && (Process != NULL));
@ -1263,8 +1261,6 @@ QSI_DEF(SystemHandleInformation)
KeLeaveCriticalRegion();
Process = PsGetNextProcess(Process);
if ((Process == SystemProcess) || (Process == NULL)) break;
}
while ((Process != SystemProcess) && (Process != NULL));