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 f9a9fc8..ef40f7e 100644
--- a/trap.c
+++ b/trap.c
@@ -37,7 +37,6 @@ trap(struct trapframe *tf)
if(v == T_SYSCALL){
struct proc *cp = curproc[cpu()];
- int num = cp->tf->eax;
if(cp->killed)
proc_exit();
cp->tf = tf;