Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Remove an unused variable



details:   https://anonhg.NetBSD.org/src/rev/10794d9d2b6a
branches:  trunk
changeset: 326390:10794d9d2b6a
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 28 12:02:48 2014 +0000

description:
Remove an unused variable

diffstat:

 sys/arch/arm/xscale/i80312_pci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 670883e0894a -r 10794d9d2b6a sys/arch/arm/xscale/i80312_pci.c
--- a/sys/arch/arm/xscale/i80312_pci.c  Tue Jan 28 12:01:31 2014 +0000
+++ b/sys/arch/arm/xscale/i80312_pci.c  Tue Jan 28 12:02:48 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80312_pci.c,v 1.14 2013/08/18 15:58:20 matt Exp $     */
+/*     $NetBSD: i80312_pci.c,v 1.15 2014/01/28 12:02:48 martin Exp $   */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i80312_pci.c,v 1.14 2013/08/18 15:58:20 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i80312_pci.c,v 1.15 2014/01/28 12:02:48 martin Exp $");
 
 #include "opt_pci.h"
 #include "pci.h"
@@ -83,7 +83,7 @@
        struct i80312_softc *sc = cookie;
        struct extent *ioext, *memext;
        pcireg_t binfo;
-       int pbus, sbus;
+       int sbus;
 #endif
 
        pc->pc_conf_v = cookie;
@@ -107,7 +107,7 @@
         */
 
        binfo = bus_space_read_4(sc->sc_st, sc->sc_ppb_sh, PPB_REG_BUSINFO);
-       pbus = PPB_BUSINFO_PRIMARY(binfo);
+       /* pbus = PPB_BUSINFO_PRIMARY(binfo); */
        sbus = PPB_BUSINFO_SECONDARY(binfo);
 
        ioext  = extent_create("pciio", sc->sc_sioout_base,



Home | Main Index | Thread Index | Old Index