summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/dca.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-02-15 20:45:33 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-02-15 20:45:33 +0000
commit80edccbe704914e50445ba06dae9916169da06df (patch)
treee583a7e97e91aee6d5d1098a86c0a7e7083bd388 /sys/arch/hp300/dev/dca.c
parent78c35609b8864cbec8390402ff594ea2b49873b2 (diff)
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/arch/hp300/dev/dca.c')
-rw-r--r--sys/arch/hp300/dev/dca.c4
1 files changed, 2 insertions, 2 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);
}