summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-09-10 21:30:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-09-10 21:30:01 +0000
commitbea5f257996111c06f5cf36636fad9c452d254d7 (patch)
tree754fc28cbabca839b1b8d2936eb7ad874a27401e /sys/arch/sparc64/dev
parent2f7e182abd2f1598516d059288987813c8f7efb2 (diff)
Remove zssoftpending; it isn't of any use anymore.
ok miod@
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/zs.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/zs.c b/sys/arch/sparc64/dev/zs.c
index 1d1b008cfdc..078e5ed0cc2 100644
--- a/sys/arch/sparc64/dev/zs.c
+++ b/sys/arch/sparc64/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.22 2008/06/26 05:42:13 ray Exp $ */
+/* $OpenBSD: zs.c,v 1.23 2009/09/10 21:30:00 kettenis Exp $ */
/* $NetBSD: zs.c,v 1.29 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -474,9 +474,6 @@ zs_print(aux, name)
return (UNCONF);
}
-/* Deprecate this? */
-static volatile int zssoftpending;
-
static int
zshard(arg)
void *arg;
@@ -492,7 +489,6 @@ zshard(arg)
if (((zsc->zsc_cs[0] && zsc->zsc_cs[0]->cs_softreq) ||
(zsc->zsc_cs[1] && zsc->zsc_cs[1]->cs_softreq)) &&
zsc->zsc_softintr) {
- zssoftpending = PIL_TTY;
softintr_schedule(zsc->zsc_softintr);
}
return (rval);
@@ -529,7 +525,6 @@ zssoft(arg)
/* Make sure we call the tty layer at spltty. */
s = spltty();
- zssoftpending = 0;
(void)zsc_intr_soft(zsc);
#ifdef TTY_DEBUG
{