diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2021-01-09 02:34:22 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2021-01-09 02:34:22 +0000 |
commit | 267a45785c7cda0d05aca5cc1af072422dc0bb49 (patch) | |
tree | a8d22b5cdcbf7e604a89f3638cfb23bb5d959f46 /sys/arch/luna88k/dev | |
parent | 4dc1ad3b39e54d95a66a3bfa642ede19f81c9d74 (diff) |
Now we do not call ttyopen() in sioopen(), we do not need the variable
'error' anymore.
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r-- | sys/arch/luna88k/dev/siotty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/luna88k/dev/siotty.c b/sys/arch/luna88k/dev/siotty.c index 23af46e9e7f..840bf98ab71 100644 --- a/sys/arch/luna88k/dev/siotty.c +++ b/sys/arch/luna88k/dev/siotty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siotty.c,v 1.24 2021/01/01 10:21:26 jan Exp $ */ +/* $OpenBSD: siotty.c,v 1.25 2021/01/09 02:34:21 aoyama Exp $ */ /* $NetBSD: siotty.c,v 1.9 2002/03/17 19:40:43 atatat Exp $ */ /*- @@ -460,7 +460,6 @@ sioopen(dev_t dev, int flag, int mode, struct proc *p) { struct siotty_softc *sc; struct tty *tp; - int error; int s; if ((sc = siotty_cd.cd_devs[minor(dev)]) == NULL) |