diff options
author | jan <jan@cvs.openbsd.org> | 2020-10-07 13:37:34 +0000 |
---|---|---|
committer | jan <jan@cvs.openbsd.org> | 2020-10-07 13:37:34 +0000 |
commit | 0678451e03f5178ccf94344e0e94cbd2e40efec4 (patch) | |
tree | cfb2179ae548b7818de0e4e7837f01243377c84d | |
parent | 85ac23a04efe8f722645f00388e51e4d126c6791 (diff) |
Remove dead marko cdev_joy_init.
ok mpi@, kettenis@, patrick@
-rw-r--r-- | sys/arch/amd64/amd64/conf.c | 9 | ||||
-rw-r--r-- | sys/arch/arm64/arm64/conf.c | 9 |
2 files changed, 2 insertions, 16 deletions
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c index ece07322586..b8f9fa911eb 100644 --- a/sys/arch/amd64/amd64/conf.c +++ b/sys/arch/amd64/amd64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.71 2020/07/06 04:32:25 dlg Exp $ */ +/* $OpenBSD: conf.c,v 1.72 2020/10/07 13:37:33 jan Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -75,13 +75,6 @@ struct bdevsw bdevsw[] = }; int nblkdev = nitems(bdevsw); -/* 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), \ - (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ - (dev_type_stop((*))) enodev, 0, seltrue, \ - (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } - /* open, close, ioctl */ #define cdev_ocis_init(c,n) { \ dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ diff --git a/sys/arch/arm64/arm64/conf.c b/sys/arch/arm64/arm64/conf.c index 6d081ad6d3f..d6bf29bbab9 100644 --- a/sys/arch/arm64/arm64/conf.c +++ b/sys/arch/arm64/arm64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.15 2020/07/06 04:32:25 dlg Exp $ */ +/* $OpenBSD: conf.c,v 1.16 2020/10/07 13:37:32 jan Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -72,13 +72,6 @@ struct bdevsw bdevsw[] = }; int nblkdev = nitems(bdevsw); -/* 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), \ - (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ - (dev_type_stop((*))) enodev, 0, seltrue, \ - (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } - /* open, close, ioctl, select -- XXX should be a generic device */ #define cdev_ocis_init(c,n) { \ dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ |