From ba9e2da185db87b907ce5e5ab973261b6b71b8d3 Mon Sep 17 00:00:00 2001 From: Visa Hankala Date: Sat, 2 Jul 2022 08:50:43 +0000 Subject: Remove unused device poll functions. Also remove unneeded includes of and . Some addenda from jsg@. OK miod@ mpi@ --- sys/arch/sh/dev/scif.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sys/arch/sh') 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) { -- cgit v1.2.3