diff options
author | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
commit | 4d268889365c1d9414bbca2f6c63d87db74ec37b (patch) | |
tree | 6993a0a1b7a3687b97ad7a5a073bb465e89eb411 /sys/kern/kern_lock.c | |
parent | e4fdd132492fc7a4aaa448a72f13f3344f287ab1 (diff) | |
download | FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.zip FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.tar.gz |
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r-- | sys/kern/kern_lock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 4d0e4de..c14cc93 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * @(#)kern_lock.c 8.18 (Berkeley) 5/21/95 - * $Id: kern_lock.c,v 1.12 1997/09/21 04:22:52 dyson Exp $ + * $Id: kern_lock.c,v 1.13 1997/10/28 15:58:19 bde Exp $ */ #include <sys/param.h> @@ -124,7 +124,6 @@ apause(struct lock *lkp, int flags) { static int acquire(struct lock *lkp, int extflags, int wanted) { int error; - int lock_wait; if ((extflags & LK_NOWAIT) && (lkp->lk_flags & wanted)) { return EBUSY; @@ -379,7 +378,6 @@ lockmgr(lkp, flags, interlkp, p) static int acquiredrain(struct lock *lkp, int extflags) { int error; - int lock_wait; if ((extflags & LK_NOWAIT) && (lkp->lk_flags & LK_ALL)) { return EBUSY; |