summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-12-20 18:26:02 +0000
committereivind <eivind@FreeBSD.org>1999-12-20 18:26:02 +0000
commit7744b3af8cf90acc532da7a79aa0afe37d368b8a (patch)
tree87fe7a88deec2e04229062ab8f7eea54b2c5287f /sys
parentd120f08b1848118da5915f76b9413db0b70cf2cf (diff)
downloadFreeBSD-src-7744b3af8cf90acc532da7a79aa0afe37d368b8a.zip
FreeBSD-src-7744b3af8cf90acc532da7a79aa0afe37d368b8a.tar.gz
Eliminate unused variables
Diffstat (limited to 'sys')
-rw-r--r--sys/miscfs/devfs/devfs_vnops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c
index 1771ac8..4d1c8bd 100644
--- a/sys/miscfs/devfs/devfs_vnops.c
+++ b/sys/miscfs/devfs/devfs_vnops.c
@@ -1305,9 +1305,7 @@ devfs_open( struct vop_open_args *ap)
int error;
dn_p dnp;
struct cdevsw *dsw;
- dev_t bdev, dev = vp->v_rdev;
- struct vnode *bvp;
-
+ dev_t dev = vp->v_rdev;
if ((error = devfs_vntodn(vp,&dnp)) != 0)
return error;
OpenPOWER on IntegriCloud