[NTOSKRNL]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 25 Jul 2015 10:21:18 +0000 (10:21 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 25 Jul 2015 10:21:18 +0000 (10:21 +0000)
Revert r68346.
CORE-9933 #resolve

svn path=/trunk/; revision=68570

reactos/ntoskrnl/ex/sysinfo.c

index 489cd24..4187fc2 100644 (file)
@@ -2443,7 +2443,7 @@ NtQuerySystemInformation(IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
                                                             &ResultLength);
 
             /* Save the result length to the caller */
-            if (NT_SUCCESS(FStatus) && UnsafeResultLength)
+            if (UnsafeResultLength)
                 *UnsafeResultLength = ResultLength;
         }
     }