summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-12-30 20:47:01 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-12-30 20:47:01 +0000
commit0b1bf6081fad3d2e922fc79beeb4f1e0fe81cbfe (patch)
tree14c3a5aecbd44fddf7932f99b9e2cbec2d384597 /sys/dev
parent904101e85514d152ccd8190228dca6ebb85382ee (diff)
Delete unnecessary <sys/file.h> includes
ok millert@ krw@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/ata.c3
-rw-r--r--sys/dev/ata/ata_wdc.c3
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c3
-rw-r--r--sys/dev/cninit.c3
-rw-r--r--sys/dev/cons.c3
-rw-r--r--sys/dev/gpio/gpiodcf.c3
-rw-r--r--sys/dev/hil/hil.c3
-rw-r--r--sys/dev/ic/z8530sc.c3
-rw-r--r--sys/dev/isa/fdc.c3
-rw-r--r--sys/dev/pcmcia/com_pcmcia.c3
-rw-r--r--sys/dev/pcmcia/wdc_pcmcia.c3
-rw-r--r--sys/dev/puc/com_puc.c3
-rw-r--r--sys/dev/tc/zs_ioasic.c3
-rw-r--r--sys/dev/usb/ucycom.c3
-rw-r--r--sys/dev/usb/udcf.c3
-rw-r--r--sys/dev/usb/uhid.c3
-rw-r--r--sys/dev/usb/umbg.c3
-rw-r--r--sys/dev/usb/umct.c3
-rw-r--r--sys/dev/usb/umidi_quirks.c3
-rw-r--r--sys/dev/usb/umodem.c3
-rw-r--r--sys/dev/usb/uplcom.c3
21 files changed, 21 insertions, 42 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c
index 72e71b46eae..6940aba8372 100644
--- a/sys/dev/ata/ata.c
+++ b/sys/dev/ata/ata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ata.c,v 1.35 2015/08/17 15:36:29 krw Exp $ */
+/* $OpenBSD: ata.c,v 1.36 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: ata.c,v 1.9 1999/04/15 09:41:09 bouyer Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -27,7 +27,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/file.h>
#include <sys/stat.h>
#include <sys/malloc.h>
#include <sys/device.h>
diff --git a/sys/dev/ata/ata_wdc.c b/sys/dev/ata/ata_wdc.c
index 867364331b8..b4c79e44711 100644
--- a/sys/dev/ata/ata_wdc.c
+++ b/sys/dev/ata/ata_wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ata_wdc.c,v 1.50 2015/08/17 15:36:29 krw Exp $ */
+/* $OpenBSD: ata_wdc.c,v 1.51 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: ata_wdc.c,v 1.21 1999/08/09 09:43:11 bouyer Exp $ */
/*
@@ -58,7 +58,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/file.h>
#include <sys/stat.h>
#include <sys/buf.h>
#include <sys/malloc.h>
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index 7cf585741d1..724782f9945 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.105 2017/08/11 17:25:09 mpi Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.106 2017/12/30 20:46:59 guenther Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -39,7 +39,6 @@
#include <sys/disklabel.h>
#include <sys/malloc.h>
#include <sys/reboot.h>
-#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/timeout.h>
#include <scsi/scsi_all.h>
diff --git a/sys/dev/cninit.c b/sys/dev/cninit.c
index 33e4f7e99b1..5cd4b03f8d8 100644
--- a/sys/dev/cninit.c
+++ b/sys/dev/cninit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cninit.c,v 1.14 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: cninit.c,v 1.15 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: cninit.c,v 1.2 1995/04/11 22:08:10 pk Exp $ */
/*
@@ -43,7 +43,6 @@
#include <sys/systm.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <sys/conf.h>
#include <sys/vnode.h>
diff --git a/sys/dev/cons.c b/sys/dev/cons.c
index 01aca1302c6..38faa30fe09 100644
--- a/sys/dev/cons.c
+++ b/sys/dev/cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.c,v 1.26 2016/05/17 23:43:47 bluhm Exp $ */
+/* $OpenBSD: cons.c,v 1.27 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: cons.c,v 1.30 1996/04/08 19:57:30 jonathan Exp $ */
/*
@@ -43,7 +43,6 @@
#include <sys/systm.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <sys/conf.h>
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/gpio/gpiodcf.c b/sys/dev/gpio/gpiodcf.c
index 561f0778cb5..68f9aceeba0 100644
--- a/sys/dev/gpio/gpiodcf.c
+++ b/sys/dev/gpio/gpiodcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpiodcf.c,v 1.5 2015/06/07 20:11:52 claudio Exp $ */
+/* $OpenBSD: gpiodcf.c,v 1.6 2017/12/30 20:46:59 guenther Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -20,7 +20,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/select.h>
#include <sys/proc.h>
#include <sys/vnode.h>
diff --git a/sys/dev/hil/hil.c b/sys/dev/hil/hil.c
index 44c4aad4743..314445e920a 100644
--- a/sys/dev/hil/hil.c
+++ b/sys/dev/hil/hil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hil.c,v 1.26 2015/05/15 13:32:08 jsg Exp $ */
+/* $OpenBSD: hil.c,v 1.27 2017/12/30 20:46:59 guenther Exp $ */
/*
* Copyright (c) 2003, 2004, Miodrag Vallat.
* All rights reserved.
@@ -68,7 +68,6 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/device.h>
-#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/proc.h>
diff --git a/sys/dev/ic/z8530sc.c b/sys/dev/ic/z8530sc.c
index 17d55067579..2648cba2985 100644
--- a/sys/dev/ic/z8530sc.c
+++ b/sys/dev/ic/z8530sc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530sc.c,v 1.7 2013/04/21 14:44:16 sebastia Exp $ */
+/* $OpenBSD: z8530sc.c,v 1.8 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: z8530sc.c,v 1.30 2009/05/22 03:51:30 mrg Exp $ */
/*
@@ -96,7 +96,6 @@
#include <sys/proc.h>
#include <sys/device.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/time.h>
diff --git a/sys/dev/isa/fdc.c b/sys/dev/isa/fdc.c
index ca1a2aee617..973be4ecf70 100644
--- a/sys/dev/isa/fdc.c
+++ b/sys/dev/isa/fdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdc.c,v 1.22 2017/09/08 08:37:52 sf Exp $ */
+/* $OpenBSD: fdc.c,v 1.23 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -45,7 +45,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/device.h>
#include <sys/disklabel.h>
diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c
index e56a5251ed5..9a414e6c36d 100644
--- a/sys/dev/pcmcia/com_pcmcia.c
+++ b/sys/dev/pcmcia/com_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_pcmcia.c,v 1.56 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: com_pcmcia.c,v 1.57 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */
/*
@@ -94,7 +94,6 @@
#include <sys/selinfo.h>
#include <sys/tty.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
diff --git a/sys/dev/pcmcia/wdc_pcmcia.c b/sys/dev/pcmcia/wdc_pcmcia.c
index 69bcad8d6e1..a72db74d1de 100644
--- a/sys/dev/pcmcia/wdc_pcmcia.c
+++ b/sys/dev/pcmcia/wdc_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc_pcmcia.c,v 1.31 2014/09/14 14:17:25 jsg Exp $ */
+/* $OpenBSD: wdc_pcmcia.c,v 1.32 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: wdc_pcmcia.c,v 1.19 1999/02/19 21:49:43 abs Exp $ */
/*-
@@ -34,7 +34,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c
index c390a9e1f8b..93947a28126 100644
--- a/sys/dev/puc/com_puc.c
+++ b/sys/dev/puc/com_puc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_puc.c,v 1.22 2014/09/14 14:17:25 jsg Exp $ */
+/* $OpenBSD: com_puc.c,v 1.23 2017/12/30 20:46:59 guenther Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
@@ -34,7 +34,6 @@
#include <sys/selinfo.h>
#include <sys/tty.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
diff --git a/sys/dev/tc/zs_ioasic.c b/sys/dev/tc/zs_ioasic.c
index a0579934f9b..2b3a8ca741b 100644
--- a/sys/dev/tc/zs_ioasic.c
+++ b/sys/dev/tc/zs_ioasic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs_ioasic.c,v 1.1 2017/11/02 14:04:24 mpi Exp $ */
+/* $OpenBSD: zs_ioasic.c,v 1.2 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: zs_ioasic.c,v 1.40 2009/05/12 13:21:22 cegger Exp $ */
/*-
@@ -50,7 +50,6 @@
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/malloc.h>
-#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/proc.h>
diff --git a/sys/dev/usb/ucycom.c b/sys/dev/usb/ucycom.c
index 97ef3e8ea74..d4fe0d932fa 100644
--- a/sys/dev/usb/ucycom.c
+++ b/sys/dev/usb/ucycom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucycom.c,v 1.36 2017/04/08 02:57:25 deraadt Exp $ */
+/* $OpenBSD: ucycom.c,v 1.37 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: ucycom.c,v 1.3 2005/08/05 07:27:47 skrll Exp $ */
/*
@@ -45,7 +45,6 @@
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbhid.h>
diff --git a/sys/dev/usb/udcf.c b/sys/dev/usb/udcf.c
index 29cd8eafb49..d51ce4fccad 100644
--- a/sys/dev/usb/udcf.c
+++ b/sys/dev/usb/udcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udcf.c,v 1.61 2016/09/02 09:14:59 mpi Exp $ */
+/* $OpenBSD: udcf.c,v 1.62 2017/12/30 20:46:59 guenther Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -19,7 +19,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/file.h>
#include <sys/select.h>
#include <sys/device.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index d7761677c69..547be4181d8 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhid.c,v 1.69 2017/09/23 06:12:14 mpi Exp $ */
+/* $OpenBSD: uhid.c,v 1.70 2017/12/30 20:46:59 guenther Exp $ */
/* $NetBSD: uhid.c,v 1.57 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -44,7 +44,6 @@
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <sys/selinfo.h>
#include <sys/proc.h>
#include <sys/vnode.h>
diff --git a/sys/dev/usb/umbg.c b/sys/dev/usb/umbg.c
index 3bafc0f8f6e..b60b9246d50 100644
--- a/sys/dev/usb/umbg.c
+++ b/sys/dev/usb/umbg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umbg.c,v 1.24 2016/09/02 09:14:59 mpi Exp $ */
+/* $OpenBSD: umbg.c,v 1.25 2017/12/30 20:47:00 guenther Exp $ */
/*
* Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org>
@@ -20,7 +20,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/select.h>
#include <sys/device.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/umct.c b/sys/dev/usb/umct.c
index 4d6632bf33b..a6931c8e468 100644
--- a/sys/dev/usb/umct.c
+++ b/sys/dev/usb/umct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umct.c,v 1.46 2017/04/08 02:57:25 deraadt Exp $ */
+/* $OpenBSD: umct.c,v 1.47 2017/12/30 20:47:00 guenther Exp $ */
/* $NetBSD: umct.c,v 1.10 2003/02/23 04:20:07 simonb Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -42,7 +42,6 @@
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <sys/selinfo.h>
#include <sys/device.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/umidi_quirks.c b/sys/dev/usb/umidi_quirks.c
index c316515fe95..92901d1f11b 100644
--- a/sys/dev/usb/umidi_quirks.c
+++ b/sys/dev/usb/umidi_quirks.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umidi_quirks.c,v 1.14 2017/01/03 06:39:44 ratchov Exp $ */
+/* $OpenBSD: umidi_quirks.c,v 1.15 2017/12/30 20:47:00 guenther Exp $ */
/* $NetBSD: umidi_quirks.c,v 1.4 2002/06/19 13:55:30 tshiozak Exp $ */
/*
@@ -36,7 +36,6 @@
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/conf.h>
-#include <sys/file.h>
#include <sys/selinfo.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 7404d159c0a..8dbdf18a922 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umodem.c,v 1.62 2017/03/29 01:27:40 jsg Exp $ */
+/* $OpenBSD: umodem.c,v 1.63 2017/12/30 20:47:00 guenther Exp $ */
/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
/*
@@ -49,7 +49,6 @@
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <sys/selinfo.h>
#include <sys/device.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c
index 84f69b0370d..6bf0673f6f7 100644
--- a/sys/dev/usb/uplcom.c
+++ b/sys/dev/usb/uplcom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uplcom.c,v 1.69 2017/04/08 02:57:25 deraadt Exp $ */
+/* $OpenBSD: uplcom.c,v 1.70 2017/12/30 20:47:00 guenther Exp $ */
/* $NetBSD: uplcom.c,v 1.29 2002/09/23 05:51:23 simonb Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -44,7 +44,6 @@
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <sys/file.h>
#include <sys/selinfo.h>
#include <sys/device.h>
#include <sys/poll.h>