summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-05-25 06:37:54 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-05-25 06:37:54 +0000
commit1d7dc5e6a2e9035f5991e4762929b6cf6ec25621 (patch)
tree6442945dc6ae8e6731415cb859f69ba044039155 /sys/arch/arm64
parent6852e97bbc079dab0f42680e101ed5cea4006c55 (diff)
Kill unused cdev_pc_init().
ok kettenis@, visa@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/arm64/conf.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/arm64/arm64/conf.c b/sys/arch/arm64/arm64/conf.c
index 3d131bcfa34..acb5b904c83 100644
--- a/sys/arch/arm64/arm64/conf.c
+++ b/sys/arch/arm64/arm64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.13 2020/05/13 08:10:03 mpi Exp $ */
+/* $OpenBSD: conf.c,v 1.14 2020/05/25 06:37:52 mpi Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -72,12 +72,6 @@ struct bdevsw bdevsw[] =
};
int nblkdev = nitems(bdevsw);
-/* open, close, read, write, ioctl, tty, mmap */
-#define cdev_pc_init(c,n) { \
- dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
- dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
- dev_init(c,n,tty), ttselect, dev_init(c,n,mmap), D_TTY }
-
/* open, close, read, ioctl */
#define cdev_joy_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \