diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2022-06-28 14:43:51 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2022-06-28 14:43:51 +0000 |
commit | 7f4c1e835f9f9a320437b78acb620cd3512ad9d7 (patch) | |
tree | 1299e011df8abb251db1fa5c066265768f20f5cc /sys/arch | |
parent | 976be4e5630a1cf2a1e17ccf6c9160c6d6407ad1 (diff) |
Remove unused field d_poll from struct cdevsw.
OK miod@ mpi@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/conf.c | 8 | ||||
-rw-r--r-- | sys/arch/amd64/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/arm/include/conf.h | 6 | ||||
-rw-r--r-- | sys/arch/arm64/include/conf.h | 6 | ||||
-rw-r--r-- | sys/arch/i386/i386/conf.c | 8 | ||||
-rw-r--r-- | sys/arch/i386/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/landisk/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/loongson/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/luna88k/include/conf.h | 8 | ||||
-rw-r--r-- | sys/arch/macppc/include/conf.h | 6 | ||||
-rw-r--r-- | sys/arch/octeon/include/conf.h | 6 | ||||
-rw-r--r-- | sys/arch/powerpc64/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/riscv64/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/include/conf.h | 12 |
14 files changed, 42 insertions, 42 deletions
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c index d4d95ae5caa..e0a772ebd33 100644 --- a/sys/arch/amd64/amd64/conf.c +++ b/sys/arch/amd64/amd64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.74 2021/11/11 10:03:08 claudio Exp $ */ +/* $OpenBSD: conf.c,v 1.75 2022/06/28 14:43:50 visa Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -79,14 +79,14 @@ int nblkdev = nitems(bdevsw); #define cdev_ocis_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, seltrue, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } /* open, close, read */ #define cdev_nvram_init(c,n) { \ dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \ (dev_type_write((*))) enodev, (dev_type_ioctl((*))) enodev, \ - (dev_type_stop((*))) enodev, 0, seltrue, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } /* open, close, ioctl */ @@ -95,7 +95,7 @@ int nblkdev = nitems(bdevsw); (dev_type_read((*))) enodev, \ (dev_type_write((*))) enodev, \ dev_init(c,n,ioctl), \ - (dev_type_stop((*))) enodev, 0, seltrue, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } #define mmread mmrw diff --git a/sys/arch/amd64/include/conf.h b/sys/arch/amd64/include/conf.h index a3c1fd7848f..5a2b10fe45b 100644 --- a/sys/arch/amd64/include/conf.h +++ b/sys/arch/amd64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.8 2020/05/13 08:32:43 mpi Exp $ */ +/* $OpenBSD: conf.h,v 1.9 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -46,7 +46,7 @@ cdev_decl(bios); #define cdev_acpi_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(acpi); diff --git a/sys/arch/arm/include/conf.h b/sys/arch/arm/include/conf.h index 8b12391c7ab..d813f12ddab 100644 --- a/sys/arch/arm/include/conf.h +++ b/sys/arch/arm/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.11 2016/05/21 21:24:36 kettenis Exp $ */ +/* $OpenBSD: conf.h,v 1.12 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.7 2002/04/19 01:04:39 wiz Exp $ */ /* @@ -61,7 +61,7 @@ cdev_decl(fd); #define cdev_apm_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(com); @@ -74,7 +74,7 @@ cdev_decl(spkr); #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(openprom); diff --git a/sys/arch/arm64/include/conf.h b/sys/arch/arm64/include/conf.h index 8fc109a63c1..1eefde6be5c 100644 --- a/sys/arch/arm64/include/conf.h +++ b/sys/arch/arm64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.3 2019/01/23 09:57:36 phessler Exp $ */ +/* $OpenBSD: conf.h,v 1.4 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -43,7 +43,7 @@ cdev_decl(mm); #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(openprom); @@ -52,7 +52,7 @@ cdev_decl(openprom); #define cdev_acpiapm_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(apm); diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c index f99fef71cf1..5fdc39bce3e 100644 --- a/sys/arch/i386/i386/conf.c +++ b/sys/arch/i386/i386/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.172 2021/11/11 10:03:09 claudio Exp $ */ +/* $OpenBSD: conf.c,v 1.173 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */ /* @@ -81,21 +81,21 @@ int nblkdev = nitems(bdevsw); #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_stop((*))) enodev, 0, \ (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, \ (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ - (dev_type_stop((*))) enodev, 0, seltrue, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } /* open, close, read */ #define cdev_nvram_init(c,n) { \ dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \ (dev_type_write((*))) enodev, (dev_type_ioctl((*))) enodev, \ - (dev_type_stop((*))) enodev, 0, seltrue, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } #define mmread mmrw diff --git a/sys/arch/i386/include/conf.h b/sys/arch/i386/include/conf.h index 54dd869f608..ecebaeed6fe 100644 --- a/sys/arch/i386/include/conf.h +++ b/sys/arch/i386/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.19 2020/05/25 06:37:53 mpi Exp $ */ +/* $OpenBSD: conf.h,v 1.20 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -43,7 +43,7 @@ cdev_decl(fd); #define cdev_acpiapm_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(spkr); diff --git a/sys/arch/landisk/include/conf.h b/sys/arch/landisk/include/conf.h index 6771f00695a..166e468ec8a 100644 --- a/sys/arch/landisk/include/conf.h +++ b/sys/arch/landisk/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.6 2011/07/04 16:52:41 nicm Exp $ */ +/* $OpenBSD: conf.h,v 1.7 2022/06/28 14:43:50 visa Exp $ */ /* * Copyright (c) 1997 Mark Brinicombe. @@ -63,7 +63,7 @@ cdev_decl(fd); #define cdev_apm_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(com); diff --git a/sys/arch/loongson/include/conf.h b/sys/arch/loongson/include/conf.h index d61820fdedd..20ed82dcb64 100644 --- a/sys/arch/loongson/include/conf.h +++ b/sys/arch/loongson/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.3 2011/07/04 16:52:41 nicm Exp $ */ +/* $OpenBSD: conf.h,v 1.4 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -36,7 +36,7 @@ #define cdev_apm_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(apm); diff --git a/sys/arch/luna88k/include/conf.h b/sys/arch/luna88k/include/conf.h index 0b79af80e1d..1e2e94f5cfd 100644 --- a/sys/arch/luna88k/include/conf.h +++ b/sys/arch/luna88k/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.6 2020/05/13 08:10:03 mpi Exp $ */ +/* $OpenBSD: conf.h,v 1.7 2022/06/28 14:43:50 visa Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * All rights reserved. @@ -53,18 +53,18 @@ cdev_decl(wd); dev_init(c,n,open), dev_init(c,n,close), \ (dev_type_read((*))) enodev, dev_init(c,n,write), \ dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \ - 0, seltrue, (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } + 0, (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } /* open, close, ioctl, mmap */ #define cdev_pcex_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ dev_init(c,n,mmap) } /* open, close, ioctl, mmap */ #define cdev_xp_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ dev_init(c,n,mmap) } diff --git a/sys/arch/macppc/include/conf.h b/sys/arch/macppc/include/conf.h index 8f071cdd8fd..823d3feccca 100644 --- a/sys/arch/macppc/include/conf.h +++ b/sys/arch/macppc/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.14 2011/07/04 16:52:41 nicm Exp $ */ +/* $OpenBSD: conf.h,v 1.15 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -40,7 +40,7 @@ cdev_decl(mm); #define cdev_apm_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, selfalse, \ + (dev_type_stop((*))) enodev, 0, \ (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } cdev_decl(apm); @@ -50,7 +50,7 @@ cdev_decl(zs); #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(openprom); diff --git a/sys/arch/octeon/include/conf.h b/sys/arch/octeon/include/conf.h index a954a3fa714..e49a3170684 100644 --- a/sys/arch/octeon/include/conf.h +++ b/sys/arch/octeon/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.3 2019/07/17 14:36:32 visa Exp $ */ +/* $OpenBSD: conf.h,v 1.4 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -39,14 +39,14 @@ #define cdev_octboot_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } /* open, close, ioctl */ #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(octboot); diff --git a/sys/arch/powerpc64/include/conf.h b/sys/arch/powerpc64/include/conf.h index 28f660fe733..7f818c14d61 100644 --- a/sys/arch/powerpc64/include/conf.h +++ b/sys/arch/powerpc64/include/conf.h @@ -10,14 +10,14 @@ cdev_decl(opalcons); #define cdev_kexec_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } /* open, close, ioctl */ #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(kexec); diff --git a/sys/arch/riscv64/include/conf.h b/sys/arch/riscv64/include/conf.h index 127b5ba3091..4e4cee002c2 100644 --- a/sys/arch/riscv64/include/conf.h +++ b/sys/arch/riscv64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.3 2021/10/05 18:32:28 deraadt Exp $ */ +/* $OpenBSD: conf.h,v 1.4 2022/06/28 14:43:50 visa Exp $ */ /* * Copyright (c) 1996 Christos Zoulas. All rights reserved. @@ -42,7 +42,7 @@ cdev_decl(mm); #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(openprom); diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h index 1e10b53d048..cc9f8a06cea 100644 --- a/sys/arch/sparc64/include/conf.h +++ b/sys/arch/sparc64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.26 2020/05/23 11:29:37 mpi Exp $ */ +/* $OpenBSD: conf.h,v 1.27 2022/06/28 14:43:50 visa Exp $ */ /* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */ /*- @@ -40,7 +40,7 @@ cdev_decl(openprom); #define cdev_openprom_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(uperf); @@ -49,7 +49,7 @@ cdev_decl(uperf); #define cdev_uperf_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } cdev_decl(vdsp); @@ -58,13 +58,13 @@ cdev_decl(vdsp); #define cdev_vdsp_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((*))) nullop, 0, selfalse, \ + (dev_type_stop((*))) nullop, 0, \ (dev_type_mmap((*))) enodev } #define cdev_gen_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_type_stop((*))) nullop, \ - 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, \ + 0, (dev_type_mmap((*))) enodev, \ 0, 0, dev_init(c,n,kqfilter) } cdev_decl(cn); @@ -125,6 +125,6 @@ cdev_decl(sbpp); #define cdev_bpp_init(c,n) { \ dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) nullop, \ - 0, seltrue, (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } + 0, (dev_type_mmap((*))) enodev, 0, 0, seltrue_kqfilter } cdev_decl(bpp); |