summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-20 13:27:36 +0000
committerbde <bde@FreeBSD.org>1998-02-20 13:27:36 +0000
commitfed944c647e911b79335c22165f86eb677963e58 (patch)
tree875ef41811d056df021bc23f63356bd4214a7024 /sys/dev/vn
parent9fca0723929264374d94aa58ebfe4ddba59c7267 (diff)
downloadFreeBSD-src-fed944c647e911b79335c22165f86eb677963e58.zip
FreeBSD-src-fed944c647e911b79335c22165f86eb677963e58.tar.gz
Removed unused debugging variables and macros.
Don't depend on "implicit int" or bloat the data section in the declaration of vn_devsw_installed.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index fb921d9..8439c52 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -38,7 +38,7 @@
* from: Utah Hdr: vn.c 1.13 94/04/02
*
* from: @(#)vn.c 8.6 (Berkeley) 4/1/94
- * $Id: vn.c,v 1.53 1998/01/24 02:54:05 eivind Exp $
+ * $Id: vn.c,v 1.54 1998/02/09 06:07:59 eivind Exp $
*/
/*
@@ -106,15 +106,6 @@ static struct bdevsw vn_bdevsw =
{ vnopen, vnclose, vnstrategy, vnioctl, /*15*/
vndump, vnsize, D_DISK | D_NOCLUSTERRW, "vn", &vn_cdevsw, -1 };
-
-#ifdef DEBUG
-static int dovncluster = 1;
-static int vndebug = 0x00;
-#define VDB_FOLLOW 0x01
-#define VDB_INIT 0x02
-#define VDB_IO 0x04
-#endif
-
#define vnunit(dev) dkunit(dev)
#define getvnbuf() \
@@ -625,7 +616,8 @@ vndump(dev_t dev)
{
return (ENODEV);
}
-static vn_devsw_installed = 0;
+
+static int vn_devsw_installed;
static void
vn_drvinit(void *unused)
OpenPOWER on IntegriCloud