aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/pcvt/pcvt_drv.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
commitc9c7976f7ffdd0ed81e12d8930651a9a858defa1 (patch)
treec4705f5f800de96d25d8356b2711c664dabcd41e /sys/i386/isa/pcvt/pcvt_drv.c
parent7563a29b8566c3c862a995022e62a54b6c3faa6b (diff)
Device megapatch 1/6:
Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
Notes
Notes: svn path=/head/; revision=126076
Diffstat (limited to 'sys/i386/isa/pcvt/pcvt_drv.c')
-rw-r--r--sys/i386/isa/pcvt/pcvt_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c
index 38c1ced77314..351048020351 100644
--- a/sys/i386/isa/pcvt/pcvt_drv.c
+++ b/sys/i386/isa/pcvt/pcvt_drv.c
@@ -93,7 +93,6 @@ static d_close_t pcvt_close;
static d_ioctl_t pcvt_ioctl;
static d_mmap_t pcvt_mmap;
-#define CDEV_MAJOR 12
static struct cdevsw vt_cdevsw = {
.d_open = pcvt_open,
@@ -104,7 +103,6 @@ static struct cdevsw vt_cdevsw = {
.d_poll = ttypoll,
.d_mmap = pcvt_mmap,
.d_name = "vt",
- .d_maj = CDEV_MAJOR,
.d_flags = D_TTY,
.d_kqfilter = ttykqfilter,
};