diff --git a/sys/conf/majors b/sys/conf/majors index 67c8062e93b8..7d177e37038a 100644 --- a/sys/conf/majors +++ b/sys/conf/majors @@ -20,7 +20,6 @@ # #maj name comments 1 *ctty /dev/tty -2 *mm /dev/mem,kmem,etc 4 *geom GEOMetry 5 *pts pseudo tty "tty" half 6 *ptc pseudo tty "master" half diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 19568f0504a2..15312ca7c3dc 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -348,7 +348,6 @@ static d_read_t devread; static d_ioctl_t devioctl; static d_poll_t devpoll; -#define CDEV_MAJOR 173 static struct cdevsw dev_cdevsw = { .d_version = D_VERSION, .d_flags = D_NEEDGIANT, @@ -358,7 +357,6 @@ static struct cdevsw dev_cdevsw = { .d_ioctl = devioctl, .d_poll = devpoll, .d_name = "devctl", - .d_maj = CDEV_MAJOR, }; struct dev_event_info