From c9c7976f7ffdd0ed81e12d8930651a9a858defa1 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp 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/fb/fb.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/fb') diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c index c47bd128a519..5ce670841029 100644 --- a/sys/dev/fb/fb.c +++ b/sys/dev/fb/fb.c @@ -361,7 +361,6 @@ static d_write_t fbwrite; static d_ioctl_t fbioctl; static d_mmap_t fbmmap; -#define CDEV_MAJOR 123 /* XXX */ static struct cdevsw fb_cdevsw = { .d_open = fbopen, @@ -371,7 +370,6 @@ static struct cdevsw fb_cdevsw = { .d_ioctl = fbioctl, .d_mmap = fbmmap, .d_name = FB_DRIVER_NAME, - .d_maj = CDEV_MAJOR, }; #endif -- cgit v1.3