diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-05-08 22:10:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-05-08 22:10:13 +0000 |
commit | 5b27be87752a72388fc0c3c166fed5ab68c8840a (patch) | |
tree | 164104552cec64ff4873cef7146e12ea63f9f052 /sys/arch/macppc/dev | |
parent | 64d02696c416c7067ac6f374a52de4e0424c51c8 (diff) |
Remove spurious initialization; drahn@ ok
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r-- | sys/arch/macppc/dev/openpic.c | 12 |
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) |