summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-08-13 04:01:38 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-08-13 04:01:38 +0000
commit60ec57051f73b17856f4caa3c18302136c84803e (patch)
tree1c338614b1fd6942d0409b4b2ca1fd08eb381a62 /sys/compat/linux
parent13670596e64e7b8eef8f8d266bbcfef1042bfa39 (diff)
remove some copy and waste. from marius@monkey.org
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_file.c8
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);