Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/cardbus Collect garbage: sc_rbus_{iot, memt} are not ...
details: https://anonhg.NetBSD.org/src/rev/d6e441a9ca6a
branches: trunk
changeset: 755409:d6e441a9ca6a
user: dyoung <dyoung%NetBSD.org@localhost>
date: Fri Jun 04 19:27:12 2010 +0000
description:
Collect garbage: sc_rbus_{iot,memt} are not used.
diffstat:
sys/dev/cardbus/sdhc_cardbus.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 5204d17a82cc -r d6e441a9ca6a sys/dev/cardbus/sdhc_cardbus.c
--- a/sys/dev/cardbus/sdhc_cardbus.c Fri Jun 04 18:42:54 2010 +0000
+++ b/sys/dev/cardbus/sdhc_cardbus.c Fri Jun 04 19:27:12 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdhc_cardbus.c,v 1.1 2010/03/27 03:04:51 nonaka Exp $ */
+/* $NetBSD: sdhc_cardbus.c,v 1.2 2010/06/04 19:27:12 dyoung Exp $ */
/*
* Copyright (c) 2010 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc_cardbus.c,v 1.1 2010/03/27 03:04:51 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc_cardbus.c,v 1.2 2010/06/04 19:27:12 dyoung Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -62,8 +62,6 @@
pcitag_t sc_tag;
bus_space_tag_t sc_iot; /* CardBus I/O space tag */
bus_space_tag_t sc_memt; /* CardBus MEM space tag */
- rbus_tag_t sc_rbus_iot; /* CardBus i/o rbus tag */
- rbus_tag_t sc_rbus_memt; /* CardBus mem rbus tag */
void *sc_ih;
};
@@ -120,8 +118,6 @@
sc->sc_iot = ca->ca_iot;
sc->sc_memt = ca->ca_memt;
- sc->sc_rbus_iot = ca->ca_rbus_iot;
- sc->sc_rbus_memt = ca->ca_rbus_memt;
pci_devinfo(ca->ca_id, ca->ca_class, 0, devinfo, sizeof(devinfo));
aprint_normal(": %s (rev. 0x%02x)\n", devinfo,
Home |
Main Index |
Thread Index |
Old Index