Module Name:    src
Committed By:   martin
Date:           Tue Jan 28 12:02:48 UTC 2014

Modified Files:
        src/sys/arch/arm/xscale: i80312_pci.c

Log Message:
Remove an unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/xscale/i80312_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/xscale/i80312_pci.c
diff -u src/sys/arch/arm/xscale/i80312_pci.c:1.14 src/sys/arch/arm/xscale/i80312_pci.c:1.15
--- src/sys/arch/arm/xscale/i80312_pci.c:1.14	Sun Aug 18 15:58:20 2013
+++ src/sys/arch/arm/xscale/i80312_pci.c	Tue Jan 28 12:02:48 2014
@@ -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 @@ i80312_pci_init(pci_chipset_tag_t pc, vo
 	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 @@ i80312_pci_init(pci_chipset_tag_t pc, vo
 	 */
 
 	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,

Reply via email to