summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/dev/openpic.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c
index bb41a161498..09d45d2963f 100644
--- a/sys/arch/macppc/dev/openpic.c
+++ b/sys/arch/macppc/dev/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.25 2003/10/19 21:57:35 drahn Exp $ */
+/* $OpenBSD: openpic.c,v 1.26 2004/05/08 22:10:12 miod Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -394,7 +394,7 @@ intr_calculatemasks()
imen_o = ~irqs;
}
}
-int o_virq_inited = 0;
+
/*
* Map 64 irqs into 32 (bits).
*/
@@ -402,14 +402,6 @@ static int
mapirq(int irq)
{
int v;
- int i;
-
- if (o_virq_inited == 0) {
- o_virq_max = 0;
- for (i = 0; i < ICU_LEN; i++)
- o_virq[i] = 0;
- o_virq_inited = 1;
- }
/* irq in table already? */
if (o_virq[irq] != 0)