[NTOSKRNL]
[reactos.git] / 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;
         }
     }