summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c1
1 files changed, 0 insertions, 1 deletions
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)