summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 19:34:52 +0000
committerphk <phk@FreeBSD.org>2003-05-31 19:34:52 +0000
commit557d80921b6fc65a2d8077a8979814bedf1a872f (patch)
tree711b5bc377f4e66301a913d5670bcdfbb8966f4d /sys/fs
parent96b27507e2829b964d76e52f5df1d715e46e405b (diff)
downloadFreeBSD-src-557d80921b6fc65a2d8077a8979814bedf1a872f.zip
FreeBSD-src-557d80921b6fc65a2d8077a8979814bedf1a872f.tar.gz
Remove unused variable.
Found by: FlexeLint
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/devfs/devfs_vnops.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index dc0053f..49ea181 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -299,7 +299,7 @@ devfs_lookupx(ap)
struct devfs_dirent *de, *dd;
struct devfs_mount *dmp;
dev_t cdev, *cpdev;
- int error, cloned, flags, nameiop;
+ int error, flags, nameiop;
char specname[SPECNAMELEN + 1], *pname;
cnp = ap->a_cnp;
@@ -310,7 +310,6 @@ devfs_lookupx(ap)
flags = cnp->cn_flags;
nameiop = cnp->cn_nameiop;
dmp = VFSTODEVFS(dvp->v_mount);
- cloned = 0;
dd = dvp->v_data;
*vpp = NULLVP;
@@ -466,7 +465,6 @@ struct vop_mknod_args {
struct thread *td;
struct devfs_dirent *dd, *de;
struct devfs_mount *dmp;
- int cloned, flags, nameiop;
int error;
dvp = ap->a_dvp;
@@ -476,9 +474,6 @@ struct vop_mknod_args {
cnp = ap->a_cnp;
vpp = ap->a_vpp;
td = cnp->cn_thread;
- flags = cnp->cn_flags;
- nameiop = cnp->cn_nameiop;
- cloned = 0;
dd = dvp->v_data;
error = ENOENT;
OpenPOWER on IntegriCloud