summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-25 21:06:04 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-25 21:06:04 +0000
commit1339662bec1965d8ce400b06ff7ad5c8a62d03ad (patch)
treedf8f5d4e420e6fe7aec98adaa174ce64ee8ae122
parent8f1d8322088072b832ed74076452cb860d0776d9 (diff)
remove unused cdev_fb_init() define
-rw-r--r--sys/sys/conf.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 422cd7f5c2a..772a9c93afe 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.163 2024/06/11 01:49:17 jsg Exp $ */
+/* $OpenBSD: conf.h,v 1.164 2024/10/25 21:06:03 jsg Exp $ */
/* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */
/*-
@@ -291,13 +291,6 @@ extern struct cdevsw cdevsw[];
(dev_type_stop((*))) enodev, 0, \
(dev_type_mmap((*))) enodev }
-/* open, close, ioctl, mmap */
-#define cdev_fb_init(c,n) { \
- dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
- (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
- (dev_type_stop((*))) enodev, 0, \
- dev_init(c,n,mmap) }
-
/* open, close, read, write, ioctl, kqfilter */
#define cdev_audio_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \