summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/spif.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c
index 1d28652c70b..e4c6a77e8b4 100644
--- a/sys/arch/sparc/dev/spif.c
+++ b/sys/arch/sparc/dev/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.13 2003/02/11 19:20:26 mickey Exp $ */
+/* $OpenBSD: spif.c,v 1.14 2003/02/14 22:04:23 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -724,7 +724,6 @@ spifstcintr_rxexception(sc, needsoftp)
{
struct stty_port *sp;
u_int8_t channel, *ptr;
- int cnt;
channel = CD180_GSCR_CHANNEL(sc->sc_regs->stc.gscr1);
sp = &sc->sc_ttys->sc_port[channel];
@@ -740,10 +739,8 @@ spifstcintr_rxexception(sc, needsoftp)
SET(sp->sp_flags, STTYF_RING_OVERFLOW);
}
sc->sc_regs->stc.eosrr = 0;
- if (cnt) {
- *needsoftp = 1;
- sp->sp_rput = ptr;
- }
+ *needsoftp = 1;
+ sp->sp_rput = ptr;
return (1);
}