summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2021-01-01 10:21:27 +0000
committerjan <jan@cvs.openbsd.org>2021-01-01 10:21:27 +0000
commit603d8fc4761c7611dfb26e924e41e79fb7340f2d (patch)
treed8899abed41941ac5846c0e102ec54507d0e0c48 /sys/arch/sh
parent5d6b0fcfa1215d5d8b34a48d573a88647a476c5f (diff)
Remove useless redundant call of ttyopen().
Also remove dead DIALOUT macro. ok mpi@
Diffstat (limited to 'sys/arch/sh')
-rw-r--r--sys/arch/sh/dev/scif.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sh/dev/scif.c b/sys/arch/sh/dev/scif.c
index 5cf0039201d..e7cb52db5c8 100644
--- a/sys/arch/sh/dev/scif.c
+++ b/sys/arch/sh/dev/scif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scif.c,v 1.19 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: scif.c,v 1.20 2021/01/01 10:21:26 jan Exp $ */
/* $NetBSD: scif.c,v 1.47 2006/07/23 22:06:06 ad Exp $ */
/*-
@@ -756,10 +756,6 @@ scifopen(dev_t dev, int flag, int mode, struct proc *p)
splx(s);
- error = ttyopen(dev, tp, p);
- if (error)
- goto bad;
-
error = (*linesw[tp->t_line].l_open)(dev, tp, p);
if (error)
goto bad;