diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:13:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:13:20 +0000 |
commit | be90184410fe8aaf59012f30ea8aabcf3e8e800b (patch) | |
tree | 54ab64d4242381c3b185efd9a13ad73978f2fff0 /sys | |
parent | 1ee2a3987905eaa068967556cc3ae8de6feff2e8 (diff) |
Do not #include <sys/dkstat.h> if you don't need anything from it.
ok krw@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/aviion/aviion/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/luna88k/luna88k/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/osiop_mvme68k.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/sbic.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/vs.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/osiop_pcctwo.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/vs.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/solbourne/solbourne/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/fd.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/qbus/uba.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/vsbus.c | 3 | ||||
-rw-r--r-- | sys/ddb/db_structinfo.c | 3 | ||||
-rw-r--r-- | sys/dev/atapiscsi/atapiscsi.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/fd.c | 3 | ||||
-rw-r--r-- | sys/dev/isa/fdc.c | 3 | ||||
-rw-r--r-- | sys/kern/subr_disk.c | 3 |
22 files changed, 22 insertions, 45 deletions
diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c index e4d9e121be0..5b775dd1266 100644 --- a/sys/arch/amd64/amd64/autoconf.c +++ b/sys/arch/amd64/amd64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.36 2010/09/07 16:22:48 mikeb Exp $ */ +/* $OpenBSD: autoconf.c,v 1.37 2010/11/18 21:13:16 miod Exp $ */ /* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */ /*- @@ -47,7 +47,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/disklabel.h> #include <sys/conf.h> #include <sys/device.h> diff --git a/sys/arch/aviion/aviion/autoconf.c b/sys/arch/aviion/aviion/autoconf.c index 024d3e7d7b7..971277223c1 100644 --- a/sys/arch/aviion/aviion/autoconf.c +++ b/sys/arch/aviion/aviion/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.11 2010/04/18 15:05:26 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.12 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -34,7 +34,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/reboot.h> #include <sys/conf.h> #include <sys/device.h> diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c index 7ded3b3a53f..7c60bdc6a2f 100644 --- a/sys/arch/i386/i386/autoconf.c +++ b/sys/arch/i386/i386/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.85 2010/07/25 21:43:35 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.86 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */ /*- @@ -48,7 +48,6 @@ #include <sys/proc.h> #include <sys/user.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/disklabel.h> #include <sys/conf.h> #include <sys/reboot.h> diff --git a/sys/arch/luna88k/luna88k/autoconf.c b/sys/arch/luna88k/luna88k/autoconf.c index f15e5f7b99c..13d7505b953 100644 --- a/sys/arch/luna88k/luna88k/autoconf.c +++ b/sys/arch/luna88k/luna88k/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.16 2009/10/26 20:17:27 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.17 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -34,7 +34,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/reboot.h> #include <sys/conf.h> #include <sys/device.h> diff --git a/sys/arch/mvme68k/dev/osiop_mvme68k.c b/sys/arch/mvme68k/dev/osiop_mvme68k.c index 682cae3900e..bb7215e91df 100644 --- a/sys/arch/mvme68k/dev/osiop_mvme68k.c +++ b/sys/arch/mvme68k/dev/osiop_mvme68k.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osiop_mvme68k.c,v 1.3 2009/03/01 21:39:59 miod Exp $ */ +/* $OpenBSD: osiop_mvme68k.c,v 1.4 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * @@ -28,7 +28,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <scsi/scsi_all.h> #include <scsi/scsiconf.h> diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c index 8b0249f79bc..baf80c6b4a7 100644 --- a/sys/arch/mvme68k/dev/sbic.c +++ b/sys/arch/mvme68k/dev/sbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbic.c,v 1.28 2010/06/29 21:12:01 krw Exp $ */ +/* $OpenBSD: sbic.c,v 1.29 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */ /* @@ -55,7 +55,6 @@ #include <sys/device.h> #include <sys/kernel.h> /* For hz */ #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/buf.h> #include <sys/queue.h> #include <scsi/scsi_all.h> diff --git a/sys/arch/mvme68k/dev/vs.c b/sys/arch/mvme68k/dev/vs.c index c50800a64ad..975d2083703 100644 --- a/sys/arch/mvme68k/dev/vs.c +++ b/sys/arch/mvme68k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.33 2010/06/28 18:31:01 krw Exp $ */ +/* $OpenBSD: vs.c,v 1.34 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 2004, 2009, Miodrag Vallat. @@ -45,7 +45,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/buf.h> #include <sys/malloc.h> diff --git a/sys/arch/mvme68k/mvme68k/autoconf.c b/sys/arch/mvme68k/mvme68k/autoconf.c index 40c2e96c324..135279a528b 100644 --- a/sys/arch/mvme68k/mvme68k/autoconf.c +++ b/sys/arch/mvme68k/mvme68k/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.45 2009/10/26 20:17:27 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.46 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -74,7 +74,6 @@ #include <sys/extent.h> #include <sys/malloc.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/conf.h> #include <sys/reboot.h> #include <sys/device.h> diff --git a/sys/arch/mvme88k/dev/osiop_pcctwo.c b/sys/arch/mvme88k/dev/osiop_pcctwo.c index 8f86767a82f..4db82af3cab 100644 --- a/sys/arch/mvme88k/dev/osiop_pcctwo.c +++ b/sys/arch/mvme88k/dev/osiop_pcctwo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osiop_pcctwo.c,v 1.5 2006/05/08 14:36:10 miod Exp $ */ +/* $OpenBSD: osiop_pcctwo.c,v 1.6 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * @@ -28,7 +28,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <scsi/scsi_all.h> #include <scsi/scsiconf.h> diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c index 639a8c38cce..94ac68acdcd 100644 --- a/sys/arch/mvme88k/dev/vs.c +++ b/sys/arch/mvme88k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.81 2010/06/28 18:31:01 krw Exp $ */ +/* $OpenBSD: vs.c,v 1.82 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 2004, 2009, Miodrag Vallat. @@ -45,7 +45,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/buf.h> #include <sys/malloc.h> diff --git a/sys/arch/mvme88k/mvme88k/autoconf.c b/sys/arch/mvme88k/mvme88k/autoconf.c index 6c22a559a3f..da12ef83d1e 100644 --- a/sys/arch/mvme88k/mvme88k/autoconf.c +++ b/sys/arch/mvme88k/mvme88k/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.45 2009/10/26 20:17:27 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.46 2010/11/18 21:13:19 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -34,7 +34,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/reboot.h> #include <sys/conf.h> #include <sys/device.h> diff --git a/sys/arch/solbourne/solbourne/autoconf.c b/sys/arch/solbourne/solbourne/autoconf.c index dd15907f719..cd0d7035ae3 100644 --- a/sys/arch/solbourne/solbourne/autoconf.c +++ b/sys/arch/solbourne/solbourne/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.11 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: autoconf.c,v 1.12 2010/11/18 21:13:19 miod Exp $ */ /* OpenBSD: autoconf.c,v 1.64 2005/03/23 17:10:24 miod Exp */ /* @@ -50,7 +50,6 @@ #include <sys/disklabel.h> #include <sys/device.h> #include <sys/disk.h> -#include <sys/dkstat.h> #include <sys/conf.h> #include <sys/reboot.h> #include <sys/socket.h> diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c index 222aa4f653b..1b0940d218a 100644 --- a/sys/arch/sparc/dev/fd.c +++ b/sys/arch/sparc/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.79 2010/09/28 12:39:17 miod Exp $ */ +/* $OpenBSD: fd.c,v 1.80 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */ /*- @@ -77,7 +77,6 @@ #include <sys/ioctl.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/disk.h> #include <sys/buf.h> #include <sys/malloc.h> diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c index fae8b8e6018..35418ab2b1a 100644 --- a/sys/arch/sparc/sparc/autoconf.c +++ b/sys/arch/sparc/sparc/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.92 2010/07/10 19:32:24 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.93 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */ /* @@ -50,7 +50,6 @@ #include <sys/disklabel.h> #include <sys/device.h> #include <sys/disk.h> -#include <sys/dkstat.h> #include <sys/conf.h> #include <sys/reboot.h> #include <sys/socket.h> diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index b3693cf6d9d..ebcaff14048 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.108 2010/08/07 00:13:09 krw Exp $ */ +/* $OpenBSD: autoconf.c,v 1.109 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */ /* @@ -50,7 +50,6 @@ #include <sys/disklabel.h> #include <sys/device.h> #include <sys/disk.h> -#include <sys/dkstat.h> #include <sys/conf.h> #include <sys/reboot.h> #include <sys/socket.h> diff --git a/sys/arch/vax/qbus/uba.c b/sys/arch/vax/qbus/uba.c index ae3ca6d7f3e..36f118ba841 100644 --- a/sys/arch/vax/qbus/uba.c +++ b/sys/arch/vax/qbus/uba.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uba.c,v 1.12 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: uba.c,v 1.13 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: uba.c,v 1.57 2001/04/26 19:16:07 ragge Exp $ */ /* * Copyright (c) 1996 Jonathan Stone. @@ -41,7 +41,6 @@ #include <sys/buf.h> #include <sys/proc.h> #include <sys/conf.h> -#include <sys/dkstat.h> #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/device.h> diff --git a/sys/arch/vax/vsa/vsbus.c b/sys/arch/vax/vsa/vsbus.c index 77c1e9c1e59..aa1d3254751 100644 --- a/sys/arch/vax/vsa/vsbus.c +++ b/sys/arch/vax/vsa/vsbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vsbus.c,v 1.20 2008/08/30 20:45:31 martin Exp $ */ +/* $OpenBSD: vsbus.c,v 1.21 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: vsbus.c,v 1.29 2000/06/29 07:14:37 mrg Exp $ */ /* * Copyright (c) 1996, 1999 Ludd, University of Lule}, Sweden. @@ -42,7 +42,6 @@ #include <sys/proc.h> #include <sys/user.h> #include <sys/device.h> -#include <sys/dkstat.h> #include <sys/disklabel.h> #include <sys/syslog.h> #include <sys/stat.h> diff --git a/sys/ddb/db_structinfo.c b/sys/ddb/db_structinfo.c index 0099e23b29f..84a4e35a6e0 100644 --- a/sys/ddb/db_structinfo.c +++ b/sys/ddb/db_structinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_structinfo.c,v 1.3 2010/06/28 23:00:30 guenther Exp $ */ +/* $OpenBSD: db_structinfo.c,v 1.4 2010/11/18 21:13:19 miod Exp $ */ /* public domain */ /* * This file is intended to be compiled with debug information, @@ -21,7 +21,6 @@ #include <sys/disklabel.h> #include <sys/dirent.h> #include <sys/dkbad.h> -#include <sys/dkstat.h> #include <sys/evcount.h> #include <sys/event.h> #include <sys/eventvar.h> diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c index 96abda2308a..f40a8c2c9a1 100644 --- a/sys/dev/atapiscsi/atapiscsi.c +++ b/sys/dev/atapiscsi/atapiscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atapiscsi.c,v 1.95 2010/09/20 06:17:49 krw Exp $ */ +/* $OpenBSD: atapiscsi.c,v 1.96 2010/11/18 21:13:19 miod Exp $ */ /* * This code is derived from code with the copyright below. @@ -36,9 +36,7 @@ #include <sys/kernel.h> #include <sys/device.h> #include <sys/buf.h> -#include <sys/dkstat.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/malloc.h> #include <sys/proc.h> #include <sys/reboot.h> diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c index cb80f3159ce..c43b376837e 100644 --- a/sys/dev/isa/fd.c +++ b/sys/dev/isa/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.89 2010/09/23 13:11:37 jsing Exp $ */ +/* $OpenBSD: fd.c,v 1.90 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -49,7 +49,6 @@ #include <sys/ioctl.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/disk.h> #include <sys/buf.h> #include <sys/malloc.h> diff --git a/sys/dev/isa/fdc.c b/sys/dev/isa/fdc.c index e7c159dee4f..8d6f038ec4e 100644 --- a/sys/dev/isa/fdc.c +++ b/sys/dev/isa/fdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdc.c,v 1.17 2005/09/19 01:28:04 deraadt Exp $ */ +/* $OpenBSD: fdc.c,v 1.18 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -49,7 +49,6 @@ #include <sys/ioctl.h> #include <sys/device.h> #include <sys/disklabel.h> -#include <sys/dkstat.h> #include <sys/disk.h> #include <sys/buf.h> #include <sys/malloc.h> diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 04b9b0f64d8..9c255d26807 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.112 2010/09/24 07:08:50 deraadt Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.113 2010/11/18 21:13:19 miod Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -54,7 +54,6 @@ #include <sys/disk.h> #include <sys/reboot.h> #include <sys/dkio.h> -#include <sys/dkstat.h> /* XXX */ #include <sys/proc.h> #include <sys/vnode.h> #include <sys/workq.h> |