Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm/sa11x0 GC dead codes.



details:   https://anonhg.NetBSD.org/src/rev/774b38bc6358
branches:  trunk
changeset: 511479:774b38bc6358
user:      toshii <toshii%NetBSD.org@localhost>
date:      Wed Jun 20 02:18:06 2001 +0000

description:
GC dead codes.

diffstat:

 sys/arch/hpcarm/sa11x0/sa11x0_irqhandler.c |  16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diffs (30 lines):

diff -r 9c5652634190 -r 774b38bc6358 sys/arch/hpcarm/sa11x0/sa11x0_irqhandler.c
--- a/sys/arch/hpcarm/sa11x0/sa11x0_irqhandler.c        Wed Jun 20 02:16:49 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa11x0_irqhandler.c        Wed Jun 20 02:18:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sa11x0_irqhandler.c,v 1.6 2001/05/22 17:01:17 toshii Exp $     */
+/*     $NetBSD: sa11x0_irqhandler.c,v 1.7 2001/06/20 02:18:06 toshii Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -138,20 +138,6 @@
                imask[level] = irqs;
        }
 
-#if 0
-       /*
-        * Initialize soft interrupt masks to block themselves.
-        */
-       imask[IPL_SOFTCLOCK] = 1 << SIR_CLOCK;
-       imask[IPL_SOFTNET] = 1 << SIR_NET;
-       imask[IPL_SOFTSERIAL] = 1 << SIR_SERIAL;
-
-       /*
-        * IPL_NONE is used for hardware interrupts that are never blocked,
-        * and do not block anything else.
-        */
-       imask[IPL_NONE] = 0;
-#endif
 
        /*
         * Enforce a hierarchy that gives slow devices a better chance at not



Home | Main Index | Thread Index | Old Index