diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2011-04-05 13:54:43 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2011-04-05 13:54:43 +0000 |
commit | c2e8002900880aea456acd1677161cbc7663ee80 (patch) | |
tree | de77b374ae7bd3d0ffb70458a6a176387953e816 /sys/arch | |
parent | df06e0bbd2c9c7b91b644dc988e13db95c084807 (diff) |
Remove unused variable.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/linux_machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/linux_machdep.c b/sys/arch/i386/i386/linux_machdep.c index eb38d12ce4c..23a4ab92f7c 100644 --- a/sys/arch/i386/i386/linux_machdep.c +++ b/sys/arch/i386/i386/linux_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_machdep.c,v 1.36 2011/04/04 21:50:41 pirofti Exp $ */ +/* $OpenBSD: linux_machdep.c,v 1.37 2011/04/05 13:54:42 pirofti Exp $ */ /* $NetBSD: linux_machdep.c,v 1.29 1996/05/03 19:42:11 christos Exp $ */ /* @@ -639,17 +639,13 @@ int linux_sys_set_thread_area(struct proc *p, void *v, register_t *retval) { struct linux_sys_set_thread_area_args *uap = v; - struct l_segment_descriptor ldesc; - int eno; - int error; error = copyin(SCARG(uap, desc), &ldesc, sizeof ldesc); if (error != 0) return error; - eno = ldesc.entry_number; if (ldesc.entry_number == -1) { ldesc.entry_number = GUGS_SEL; if ((error = copyout(&ldesc, SCARG(uap, desc), sizeof ldesc))) |