summaryrefslogtreecommitdiff
path: root/sys/arch/sh
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/arch/sh
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/arch/sh')
-rw-r--r--sys/arch/sh/dev/scif.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/sh/dev/scif.c b/sys/arch/sh/dev/scif.c
index 14e1254341d..e4592d99e64 100644
--- a/sys/arch/sh/dev/scif.c
+++ b/sys/arch/sh/dev/scif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scif.c,v 1.21 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: scif.c,v 1.22 2022/07/02 08:50:41 visa Exp $ */
/* $NetBSD: scif.c,v 1.47 2006/07/23 22:06:06 ad Exp $ */
/*-
@@ -801,17 +801,6 @@ scifwrite(dev_t dev, struct uio *uio, int flag)
return ((*linesw[tp->t_line].l_write)(tp, uio, flag));
}
-#if 0
-int
-scifpoll(dev_t dev, int events, struct proc *p)
-{
- struct scif_softc *sc = scif_cd.cd_devs[SCIFUNIT(dev)];
- struct tty *tp = sc->sc_tty;
-
- return ((*linesw[tp->t_line].l_poll)(tp, events, p));
-}
-#endif
-
struct tty *
sciftty(dev_t dev)
{