From df397dedeab80f98300da9e5999d17a57c01b19f Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 21 Feb 2004 19:42:58 +0000 Subject: 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. --- sys/dev/rc/rc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/rc') diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 6817d02..f11537c 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -146,7 +146,6 @@ static d_open_t rcopen; static d_close_t rcclose; static d_ioctl_t rcioctl; -#define CDEV_MAJOR 63 static struct cdevsw rc_cdevsw = { .d_open = rcopen, .d_close = rcclose, @@ -155,7 +154,6 @@ static struct cdevsw rc_cdevsw = { .d_ioctl = rcioctl, .d_poll = ttypoll, .d_name = "rc", - .d_maj = CDEV_MAJOR, .d_flags = D_TTY, .d_kqfilter = ttykqfilter, }; -- cgit v1.1