Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Delete dead code



details:   https://anonhg.NetBSD.org/src/rev/6c05b7e24866
branches:  sommerfeld_i386mp_1
changeset: 482302:6c05b7e24866
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sat Sep 23 17:27:00 2000 +0000

description:
Delete dead code

diffstat:

 sys/arch/i386/i386/ioapic.c |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (32 lines):

diff -r c9957811f7bd -r 6c05b7e24866 sys/arch/i386/i386/ioapic.c
--- a/sys/arch/i386/i386/ioapic.c       Sat Sep 23 17:25:33 2000 +0000
+++ b/sys/arch/i386/i386/ioapic.c       Sat Sep 23 17:27:00 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioapic.c,v 1.1.2.9 2000/09/23 17:25:33 sommerfeld Exp $ */
+/* $NetBSD: ioapic.c,v 1.1.2.10 2000/09/23 17:27:00 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -310,11 +310,6 @@
 struct intrhand *apic_intrhand[256];
 int    apic_intrcount[256];
 
-#if 0
-int apic_intrtype[APIC_ICU_LEN];
-int apic_intrlevel[NIPL];
-int apic_imask[NIPL];
-#endif
 
 /* XXX should check vs. softc max int number */
 #define        LEGAL_IRQ(x)    ((x) >= 0 && (x) < APIC_ICU_LEN && (x) != 2)
@@ -598,10 +593,6 @@
        if (!ioapic_cold)
                apic_vectorset(sc, intr, maxlevel);
 
-#if 0
-       apic_calculatemasks();
-#endif
-
        /*
         * Poke the real handler in now.
         */



Home | Main Index | Thread Index | Old Index