[NTOSKRNL]
[reactos.git] / reactos / ntoskrnl / ps / win32.c
index acb2b8b..c80f1b9 100644 (file)
@@ -9,7 +9,6 @@
 /* INCLUDES ****************************************************************/
 
 #include <ntoskrnl.h>
-#include <winerror.h>
 #define NDEBUG
 #include <debug.h>
 
@@ -64,7 +63,6 @@ PsConvertToGuiThread(VOID)
         if (!NewStack)
         {
             /* Panic in user-mode */
-            NtCurrentTeb()->LastErrorValue = ERROR_NOT_ENOUGH_MEMORY;
             return STATUS_NO_MEMORY;
         }