[NTOSKRNL]
[reactos.git] / reactos / ntoskrnl / ke / i386 / traphdlr.c
index b485f15..627c32c 100644 (file)
@@ -1673,7 +1673,6 @@ KiSystemServiceHandler(IN PKTRAP_FRAME TrapFrame,
         if (!NT_SUCCESS(Result))
         {
             /* Set the last error and fail */
         if (!NT_SUCCESS(Result))
         {
             /* Set the last error and fail */
-            NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError(Result);
             goto ExitCall;
         }
 
             goto ExitCall;
         }