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/iicbus/iic.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/iicbus') diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index d6410c7..0951f1f 100644 --- a/sys/dev/iicbus/iic.c +++ b/sys/dev/iicbus/iic.c @@ -92,7 +92,6 @@ static d_write_t iicwrite; static d_read_t iicread; static d_ioctl_t iicioctl; -#define CDEV_MAJOR 105 static struct cdevsw iic_cdevsw = { .d_open = iicopen, .d_close = iicclose, @@ -100,7 +99,6 @@ static struct cdevsw iic_cdevsw = { .d_write = iicwrite, .d_ioctl = iicioctl, .d_name = "iic", - .d_maj = CDEV_MAJOR, }; static void -- cgit v1.1