From e12ac31b5251e03d1ef680837864230d4414d06c Mon Sep 17 00:00:00 2001 From: dsl Date: Sat, 2 Jun 2007 10:09:05 +0000 Subject: [PATCH] Remove an unsed call to stackgap_init() --- sys/compat/osf1/osf1_descrip.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/compat/osf1/osf1_descrip.c b/sys/compat/osf1/osf1_descrip.c index 25d1a11bf81c..9401877182f5 100644 --- a/sys/compat/osf1/osf1_descrip.c +++ b/sys/compat/osf1/osf1_descrip.c @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_descrip.c,v 1.22 2007/05/12 23:02:49 dsl Exp $ */ +/* $NetBSD: osf1_descrip.c,v 1.23 2007/06/02 10:09:05 dsl Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -58,7 +58,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: osf1_descrip.c,v 1.22 2007/05/12 23:02:49 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_descrip.c,v 1.23 2007/06/02 10:09:05 dsl Exp $"); #include #include @@ -93,16 +93,12 @@ osf1_sys_fcntl(l, v, retval) register_t *retval; { struct osf1_sys_fcntl_args *uap = v; - struct proc *p = l->l_proc; struct sys_fcntl_args a; struct osf1_flock oflock; struct flock nflock; unsigned long xfl, leftovers; - void *sg; int error; - sg = stackgap_init(p, 0); - SCARG(&a, fd) = SCARG(uap, fd); leftovers = 0;