diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-13 04:01:38 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-13 04:01:38 +0000 |
commit | 60ec57051f73b17856f4caa3c18302136c84803e (patch) | |
tree | 1c338614b1fd6942d0409b4b2ca1fd08eb381a62 /sys/compat | |
parent | 13670596e64e7b8eef8f8d266bbcfef1042bfa39 (diff) |
remove some copy and waste. from marius@monkey.org
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_file.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index ac982ea3b6c..5836a22bd6b 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_file.c,v 1.21 2002/03/14 01:26:50 millert Exp $ */ +/* $OpenBSD: linux_file.c,v 1.22 2003/08/13 04:01:37 tedu Exp $ */ /* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */ /* @@ -874,9 +874,6 @@ linux_sys_pread(p, v, retval) syscallarg(linux_off_t) offset; } */ *uap = v; struct sys_pread_args pra; - caddr_t sg; - - sg = stackgap_init(p->p_emul); SCARG(&pra, fd) = SCARG(uap, fd); SCARG(&pra, buf) = SCARG(uap, buf); @@ -902,9 +899,6 @@ linux_sys_pwrite(p, v, retval) syscallarg(linux_off_t) offset; } */ *uap = v; struct sys_pwrite_args pra; - caddr_t sg; - - sg = stackgap_init(p->p_emul); SCARG(&pra, fd) = SCARG(uap, fd); SCARG(&pra, buf) = SCARG(uap, buf); |