1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Removed unused debugging variables and macros.

Don't depend on "implicit int" or bloat the data section in the
declaration of vn_devsw_installed.
This commit is contained in:
Bruce Evans 1998-02-20 13:27:36 +00:00
parent 39e4376ba7
commit b9cecfcd53
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33677

View File

@ -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)