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/hp300/dev | |
parent | 78c35609b8864cbec8390402ff594ea2b49873b2 (diff) |
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r-- | sys/arch/hp300/dev/dca.c | 4 | ||||
-rw-r--r-- | sys/arch/hp300/dev/dcm.c | 4 | ||||
-rw-r--r-- | sys/arch/hp300/dev/mt.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/hp300/dev/dca.c b/sys/arch/hp300/dev/dca.c index 11e06aa1345..506484a74ba 100644 --- a/sys/arch/hp300/dev/dca.c +++ b/sys/arch/hp300/dev/dca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dca.c,v 1.13 2001/09/23 07:05:06 millert Exp $ */ +/* $OpenBSD: dca.c,v 1.14 2002/02/15 20:45:30 nordin Exp $ */ /* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */ /* @@ -935,7 +935,7 @@ dcamctl(sc, bits, how) bits = dca->dca_msr; break; } - (void) splx(s); + splx(s); return (bits); } diff --git a/sys/arch/hp300/dev/dcm.c b/sys/arch/hp300/dev/dcm.c index 184ac74c678..e37846cf27f 100644 --- a/sys/arch/hp300/dev/dcm.c +++ b/sys/arch/hp300/dev/dcm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dcm.c,v 1.11 1997/09/14 03:43:03 downsj Exp $ */ +/* $OpenBSD: dcm.c,v 1.12 2002/02/15 20:45:30 nordin Exp $ */ /* $NetBSD: dcm.c,v 1.41 1997/05/05 20:59:16 thorpej Exp $ */ /* @@ -1339,7 +1339,7 @@ dcmmctl(dev, bits, how) dcm->dcm_cr |= CR_MODM; SEM_UNLOCK(dcm); DELAY(10); /* delay until done */ - (void) splx(s); + splx(s); } return (bits); } diff --git a/sys/arch/hp300/dev/mt.c b/sys/arch/hp300/dev/mt.c index a93ad40172e..d8bab8503d2 100644 --- a/sys/arch/hp300/dev/mt.c +++ b/sys/arch/hp300/dev/mt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mt.c,v 1.7 2001/05/01 16:51:10 millert Exp $ */ +/* $OpenBSD: mt.c,v 1.8 2002/02/15 20:45:30 nordin Exp $ */ /* $NetBSD: mt.c,v 1.8 1997/03/31 07:37:29 scottr Exp $ */ /* @@ -509,7 +509,7 @@ spl_mtintr(arg) hpibppclear(sc->sc_hpibno); mtintr(sc); - (void) splx(s); + splx(s); } void @@ -519,7 +519,7 @@ spl_mtstart(arg) int s = splbio(); mtstart(arg); - (void) splx(s); + splx(s); } void |