Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev #if 0 a variable just like their only use



details:   https://anonhg.NetBSD.org/src/rev/9ea4d6c303dd
branches:  trunk
changeset: 789908:9ea4d6c303dd
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 19:51:09 2013 +0000

description:
#if 0 a variable just like their only use

diffstat:

 sys/arch/sparc64/dev/ebus_mainbus.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 3653a04b8427 -r 9ea4d6c303dd sys/arch/sparc64/dev/ebus_mainbus.c
--- a/sys/arch/sparc64/dev/ebus_mainbus.c       Thu Sep 12 19:47:58 2013 +0000
+++ b/sys/arch/sparc64/dev/ebus_mainbus.c       Thu Sep 12 19:51:09 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebus_mainbus.c,v 1.10 2012/10/27 17:18:12 chs Exp $    */
+/*     $NetBSD: ebus_mainbus.c,v 1.11 2013/09/12 19:51:09 martin Exp $ */
 /*     $OpenBSD: ebus_mainbus.c,v 1.7 2010/11/11 17:58:23 miod Exp $   */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ebus_mainbus.c,v 1.10 2012/10/27 17:18:12 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ebus_mainbus.c,v 1.11 2013/09/12 19:51:09 martin Exp $");
 
 #ifdef DEBUG
 #define        EDB_PROM        0x01
@@ -208,7 +208,10 @@
        struct ebus_softc *sc = t->cookie;
        struct ebus_mainbus_ranges *range;
        bus_addr_t hi, lo;
-       int i, ss;
+       int i;
+#if 0
+       int ss;
+#endif
 
        DPRINTF(EDB_BUSMAP,
            ("\n_ebus_mainbus_bus_map: off %016llx sz %x flags %d",
@@ -252,8 +255,6 @@
                        panic("ebus_mainbus_bus_map: illegal space %x", ss);
                        break;
                }
-#else
-ss = 0;
 #endif
 
                addr = ((bus_addr_t)range[i].phys_hi << 32UL) |



Home | Main Index | Thread Index | Old Index