From b6095304b7ee2b69d2ee4a9a7265999d1a2b9675 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 10 Aug 2007 16:37:27 +0000 Subject: Make cp a magic symbol. --- trap.c | 1 - 1 file changed, 1 deletion(-) (limited to 'trap.c') diff --git a/trap.c b/trap.c index 0c4a956..7a47516 100644 --- a/trap.c +++ b/trap.c @@ -31,7 +31,6 @@ void trap(struct trapframe *tf) { int v = tf->trapno; - struct proc *cp = curproc[cpu()]; if(v == T_SYSCALL){ if(cp->killed) -- cgit v1.2.3