diff --git a/reactos/ntoskrnl/ps/debug.c b/reactos/ntoskrnl/ps/debug.c index 4c7b26e1476..67f343fbd2a 100644 --- a/reactos/ntoskrnl/ps/debug.c +++ b/reactos/ntoskrnl/ps/debug.c @@ -55,7 +55,6 @@ PspGetOrSetContextKernelRoutine(PKAPC Apc, Context = &GetSetContext->Context; Event = &GetSetContext->Event; Mode = GetSetContext->Mode; - Thread = SystemArgument2; if (TrapFrame->Cs == KERNEL_CS && Mode != KernelMode) {