summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-07-02 08:50:43 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-07-02 08:50:43 +0000
commitba9e2da185db87b907ce5e5ab973261b6b71b8d3 (patch)
treec794dbe2375ac56389d511a6ec35c4e9f244ac82 /sys/scsi
parentf487f43fd3d05d932c6483c4cbeed9667ffcfdf2 (diff)
Remove unused device poll functions.
Also remove unneeded includes of <sys/poll.h> and <sys/select.h>. Some addenda from jsg@. OK miod@ mpi@
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/mpath.c4
-rw-r--r--sys/scsi/mpath_emc.c4
-rw-r--r--sys/scsi/mpath_hds.c4
-rw-r--r--sys/scsi/mpath_rdac.c4
-rw-r--r--sys/scsi/mpath_sym.c4
5 files changed, 5 insertions, 15 deletions
diff --git a/sys/scsi/mpath.c b/sys/scsi/mpath.c
index df425d9d02e..049000ba9af 100644
--- a/sys/scsi/mpath.c
+++ b/sys/scsi/mpath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath.c,v 1.56 2022/04/16 19:19:59 naddy Exp $ */
+/* $OpenBSD: mpath.c,v 1.57 2022/07/02 08:50:42 visa Exp $ */
/*
* Copyright (c) 2009 David Gwynne <dlg@openbsd.org>
@@ -25,8 +25,6 @@
#include <sys/queue.h>
#include <sys/rwlock.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
-#include <sys/selinfo.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c
index e6a10b7a720..c9069e3ac3d 100644
--- a/sys/scsi/mpath_emc.c
+++ b/sys/scsi/mpath_emc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_emc.c,v 1.24 2021/10/24 16:57:30 mpi Exp $ */
+/* $OpenBSD: mpath_emc.c,v 1.25 2022/07/02 08:50:42 visa Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -28,8 +28,6 @@
#include <sys/rwlock.h>
#include <sys/pool.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
-#include <sys/selinfo.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c
index c88693130e3..cb71ae7a50a 100644
--- a/sys/scsi/mpath_hds.c
+++ b/sys/scsi/mpath_hds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_hds.c,v 1.25 2021/10/24 16:57:30 mpi Exp $ */
+/* $OpenBSD: mpath_hds.c,v 1.26 2022/07/02 08:50:42 visa Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -28,8 +28,6 @@
#include <sys/rwlock.h>
#include <sys/pool.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
-#include <sys/selinfo.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
diff --git a/sys/scsi/mpath_rdac.c b/sys/scsi/mpath_rdac.c
index 7615bf57eb6..5928aca79e9 100644
--- a/sys/scsi/mpath_rdac.c
+++ b/sys/scsi/mpath_rdac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_rdac.c,v 1.26 2021/10/24 16:57:30 mpi Exp $ */
+/* $OpenBSD: mpath_rdac.c,v 1.27 2022/07/02 08:50:42 visa Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -28,8 +28,6 @@
#include <sys/rwlock.h>
#include <sys/pool.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
-#include <sys/selinfo.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
diff --git a/sys/scsi/mpath_sym.c b/sys/scsi/mpath_sym.c
index fbe30a92f5f..9c15b7c7e22 100644
--- a/sys/scsi/mpath_sym.c
+++ b/sys/scsi/mpath_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_sym.c,v 1.27 2021/10/24 16:57:30 mpi Exp $ */
+/* $OpenBSD: mpath_sym.c,v 1.28 2022/07/02 08:50:42 visa Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -26,8 +26,6 @@
#include <sys/rwlock.h>
#include <sys/pool.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
-#include <sys/selinfo.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>