diff options
author | 2021-01-09 02:34:21 +0000 | |
---|---|---|
committer | 2021-01-09 02:34:21 +0000 | |
commit | dfc190eaa6096fd689c021dccb9da083a5aaa735 (patch) | |
tree | 044c28f3c4a1c219d7ed17427ae865eb4064f71f /sys | |
parent | missing plural in previous; (diff) | |
download | wireguard-openbsd-dfc190eaa6096fd689c021dccb9da083a5aaa735.tar.xz wireguard-openbsd-dfc190eaa6096fd689c021dccb9da083a5aaa735.zip |
Now we do not call ttyopen() in sioopen(), we do not need the variable
'error' anymore.
Diffstat (limited to 'sys')
-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) |