remove unused
This commit is contained in:
parent
a2f33b7a58
commit
59f2a2f5c4
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filecore_lookup.c,v 1.17 2012/12/20 08:03:42 hannken Exp $ */
|
||||
/* $NetBSD: filecore_lookup.c,v 1.18 2013/10/20 17:14:48 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1989, 1993, 1994 The Regents of the University of California.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_lookup.c,v 1.17 2012/12/20 08:03:42 hannken Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_lookup.c,v 1.18 2013/10/20 17:14:48 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/namei.h>
|
||||
|
@ -127,7 +127,6 @@ filecore_lookup(void *v)
|
|||
} */ *ap = v;
|
||||
struct vnode *vdp; /* vnode for directory being searched */
|
||||
struct filecore_node *dp; /* inode for directory being searched */
|
||||
struct filecore_mnt *fcmp; /* file system that directory is in */
|
||||
struct buf *bp; /* a buffer of directory entries */
|
||||
struct filecore_direntry *de;
|
||||
int numdirpasses; /* strategy for directory search */
|
||||
|
@ -150,7 +149,6 @@ filecore_lookup(void *v)
|
|||
*vpp = NULL;
|
||||
vdp = ap->a_dvp;
|
||||
dp = VTOI(vdp);
|
||||
fcmp = dp->i_mnt;
|
||||
|
||||
/*
|
||||
* Check accessiblity of directory.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filecore_vnops.c,v 1.38 2013/06/23 07:28:36 dholland Exp $ */
|
||||
/* $NetBSD: filecore_vnops.c,v 1.39 2013/10/20 17:14:48 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The Regents of the University of California.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_vnops.c,v 1.38 2013/06/23 07:28:36 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_vnops.c,v 1.39 2013/10/20 17:14:48 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -204,7 +204,7 @@ filecore_read(void *v)
|
|||
struct filecore_node *ip = VTOI(vp);
|
||||
struct filecore_mnt *fcmp;
|
||||
struct buf *bp;
|
||||
daddr_t lbn, rablock;
|
||||
daddr_t lbn;
|
||||
off_t diff;
|
||||
int error = 0;
|
||||
long size, n, on;
|
||||
|
@ -248,7 +248,6 @@ filecore_read(void *v)
|
|||
if (diff < n)
|
||||
n = diff;
|
||||
size = filecore_blksize(fcmp, ip, lbn);
|
||||
rablock = lbn + 1;
|
||||
if (ip->i_dirent.attr & FILECORE_ATTR_DIR) {
|
||||
error = filecore_dbread(ip, &bp);
|
||||
on = uio->uio_offset;
|
||||
|
@ -294,7 +293,6 @@ filecore_readdir(void *v)
|
|||
struct uio *uio = ap->a_uio;
|
||||
struct vnode *vdp = ap->a_vp;
|
||||
struct filecore_node *dp;
|
||||
struct filecore_mnt *fcmp;
|
||||
struct buf *bp = NULL;
|
||||
struct dirent *de;
|
||||
struct filecore_direntry *dep = NULL;
|
||||
|
@ -315,7 +313,6 @@ filecore_readdir(void *v)
|
|||
uiooff = uio->uio_offset;
|
||||
|
||||
*ap->a_eofflag = 0;
|
||||
fcmp = dp->i_mnt;
|
||||
|
||||
error = filecore_dbread(dp, &bp);
|
||||
if (error) {
|
||||
|
|
Loading…
Reference in New Issue