diff options
| author | 2003-08-13 04:01:37 +0000 | |
|---|---|---|
| committer | 2003-08-13 04:01:37 +0000 | |
| commit | bddfc7a954a51873af76a98248c7145c21dd7f0f (patch) | |
| tree | 32900596aa2bcdcc8a57c8bd700c674db9754e12 /sys/compat/linux/linux_file.c | |
| parent | safe(4) (diff) | |
| download | wireguard-openbsd-bddfc7a954a51873af76a98248c7145c21dd7f0f.tar.xz wireguard-openbsd-bddfc7a954a51873af76a98248c7145c21dd7f0f.zip | |
remove some copy and waste. from marius@monkey.org
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -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); |
