summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-28 13:45:09 +0000
committerjeff <jeff@FreeBSD.org>2005-03-28 13:45:09 +0000
commitefb09df0e7e51325c02defc1b8fd5a08c4ab0f9a (patch)
tree8288cb07da1c9b1cc3b8c4bd4f6081c70181b5aa /sys/fs/ntfs
parentd673a4826633faadb96b1af1bb89da1e0a2d8db0 (diff)
downloadFreeBSD-src-efb09df0e7e51325c02defc1b8fd5a08c4ab0f9a.zip
FreeBSD-src-efb09df0e7e51325c02defc1b8fd5a08c4ab0f9a.tar.gz
- Garbage collect an unused variable.
Diffstat (limited to 'sys/fs/ntfs')
-rw-r--r--sys/fs/ntfs/ntfs_vnops.c5
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)
OpenPOWER on IntegriCloud