diff options
author | jeff <jeff@FreeBSD.org> | 2005-03-28 13:45:09 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-03-28 13:45:09 +0000 |
commit | efb09df0e7e51325c02defc1b8fd5a08c4ab0f9a (patch) | |
tree | 8288cb07da1c9b1cc3b8c4bd4f6081c70181b5aa /sys/fs/ntfs/ntfs_vnops.c | |
parent | d673a4826633faadb96b1af1bb89da1e0a2d8db0 (diff) | |
download | FreeBSD-src-efb09df0e7e51325c02defc1b8fd5a08c4ab0f9a.zip FreeBSD-src-efb09df0e7e51325c02defc1b8fd5a08c4ab0f9a.tar.gz |
- Garbage collect an unused variable.
Diffstat (limited to 'sys/fs/ntfs/ntfs_vnops.c')
-rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index 5451175..6950a9d 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -622,12 +622,9 @@ ntfs_lookup(ap) struct componentname *cnp = ap->a_cnp; struct ucred *cred = cnp->cn_cred; int error; -#if NTFS_DEBUG - int wantparent = cnp->cn_flags & (LOCKPARENT|WANTPARENT); -#endif dprintf(("ntfs_lookup: \"%.*s\" (%ld bytes) in %d, wp: %d \n", (int)cnp->cn_namelen, cnp->cn_nameptr, cnp->cn_namelen, - dip->i_number, wantparent)); + dip->i_number)); error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread); if(error) |