diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-02-15 20:45:33 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-02-15 20:45:33 +0000 |
commit | 80edccbe704914e50445ba06dae9916169da06df (patch) | |
tree | e583a7e97e91aee6d5d1098a86c0a7e7083bd388 /sys/arch/alpha | |
parent | 78c35609b8864cbec8390402ff594ea2b49873b2 (diff) |
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/tc/scc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/tc/scc.c b/sys/arch/alpha/tc/scc.c index b73fac621c5..6ff87cdddd3 100644 --- a/sys/arch/alpha/tc/scc.c +++ b/sys/arch/alpha/tc/scc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scc.c,v 1.11 2002/01/16 20:50:16 miod Exp $ */ +/* $OpenBSD: scc.c,v 1.12 2002/02/15 20:45:29 nordin Exp $ */ /* $NetBSD: scc.c,v 1.28 1996/12/05 01:39:43 cgd Exp $ */ /* @@ -1217,7 +1217,7 @@ sccmctl(dev, bits, how) break; case DMGET: - (void) splx(s); + splx(s); return (mbits); } if (line == SCC_CHANNEL_B) { @@ -1230,7 +1230,7 @@ sccmctl(dev, bits, how) } if ((mbits & DML_DTR) || (sc->scc_softCAR & (1 << line))) sc->scc_tty[line]->t_state |= TS_CARR_ON; - (void) splx(s); + splx(s); return (mbits); } |