summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index be51ac3..571265d 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -322,7 +322,6 @@ static d_read_t sioread;
static d_write_t siowrite;
static d_ioctl_t sioioctl;
-#define CDEV_MAJOR 28
static struct cdevsw sio_cdevsw = {
.d_open = sioopen,
.d_close = sioclose,
@@ -331,7 +330,6 @@ static struct cdevsw sio_cdevsw = {
.d_ioctl = sioioctl,
.d_poll = ttypoll,
.d_name = sio_driver_name,
- .d_maj = CDEV_MAJOR,
.d_flags = D_TTY,
.d_kqfilter = ttykqfilter,
};
OpenPOWER on IntegriCloud