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/vfs_cache.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/vfs_cache.c')
-rw-r--r-- | sys/kern/vfs_cache.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 3d76d4f..ec72155 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)vfs_cache.c 8.5 (Berkeley) 3/22/95 - * $Id: vfs_cache.c,v 1.34 1997/10/15 13:22:52 phk Exp $ + * $Id: vfs_cache.c,v 1.35 1997/10/16 10:47:54 phk Exp $ */ #include <sys/param.h> @@ -156,8 +156,7 @@ cache_lookup(dvp, vpp, cnp) struct vnode **vpp; struct componentname *cnp; { - register struct namecache *ncp, *nnp; - register struct nchashhead *ncpp; + register struct namecache *ncp; if (!doingcache) { cnp->cn_flags &= ~MAKEENTRY; @@ -331,8 +330,6 @@ void cache_purge(vp) struct vnode *vp; { - struct namecache *ncp; - struct nchashhead *ncpp; static u_long nextid; while (!LIST_EMPTY(&vp->v_cache_src)) |