summaryrefslogtreecommitdiff
path: root/sys/arch/vax/qbus/dz.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/vax/qbus/dz.c
parent78c35609b8864cbec8390402ff594ea2b49873b2 (diff)
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/arch/vax/qbus/dz.c')
-rw-r--r--sys/arch/vax/qbus/dz.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/vax/qbus/dz.c b/sys/arch/vax/qbus/dz.c
index 018476a174b..d31dfe75d8f 100644
--- a/sys/arch/vax/qbus/dz.c
+++ b/sys/arch/vax/qbus/dz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dz.c,v 1.7 2002/01/16 20:50:17 miod Exp $ */
+/* $OpenBSD: dz.c,v 1.8 2002/02/15 20:45:30 nordin Exp $ */
/* $NetBSD: dz.c,v 1.23 2000/06/04 02:14:12 matt Exp $ */
/*
* Copyright (c) 1996 Ken C. Wellsch. All rights reserved.
@@ -329,7 +329,7 @@ dzopen(dev_t dev, int flag, int mode, struct proc *p)
if (error)
break;
}
- (void) splx(s);
+ splx(s);
if (error)
return (error);
return ((*linesw[tp->t_line].l_open)(dev, tp));
@@ -558,7 +558,7 @@ dzparam(struct tty *tp, struct termios *t)
DZ_WRITE_WORD(dr_lpr, lpr);
- (void) splx(s);
+ splx(s);
return (0);
}
@@ -613,7 +613,7 @@ dzmctl(struct dz_softc *sc, int line, int bits, int how)
break;
case DMGET:
- (void) splx(s);
+ splx(s);
return (mbits);
}
@@ -631,7 +631,7 @@ dzmctl(struct dz_softc *sc, int line, int bits, int how)
DZ_WRITE_BYTE(dr_break, sc->sc_brk);
}
- (void) splx(s);
+ splx(s);
return (mbits);
}
@@ -692,7 +692,7 @@ dzscan(void *arg)
sc->sc_rxint = 0;
}
- (void) splx(s);
+ splx(s);
timeout_add(&dz_timeout, hz);
return;
}