summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/mfc.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/amiga/dev/mfc.c
parent78c35609b8864cbec8390402ff594ea2b49873b2 (diff)
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/arch/amiga/dev/mfc.c')
-rw-r--r--sys/arch/amiga/dev/mfc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amiga/dev/mfc.c b/sys/arch/amiga/dev/mfc.c
index 3d6cd5b62e5..b2f2ac06a8c 100644
--- a/sys/arch/amiga/dev/mfc.c
+++ b/sys/arch/amiga/dev/mfc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfc.c,v 1.10 1997/01/16 09:25:01 niklas Exp $ */
+/* $OpenBSD: mfc.c,v 1.11 2002/02/15 20:45:30 nordin Exp $ */
/* $NetBSD: mfc.c,v 1.18 1996/12/23 09:10:23 veego Exp $ */
/*
@@ -937,7 +937,7 @@ mfcsmctl(dev, bits, how)
ub = ~sc->sc_regs->du_ip;
break;
}
- (void)splx(s);
+ splx(s);
/* XXXX should keep DTR & RTS states in softc? */
bits = TIOCM_DTR | TIOCM_RTS;