summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-08-27 16:27:51 +0000
committerandrew <andrew@FreeBSD.org>2015-08-27 16:27:51 +0000
commit52d4a578ff53e36ba586a723a38a0d75113ba6c4 (patch)
tree5ff6b0bde259e3b3502ea35ef17a10aff560d716 /sys/dev/mmc
parent3af96d23208813a701bcab177b29f724cbc728ff (diff)
downloadFreeBSD-src-52d4a578ff53e36ba586a723a38a0d75113ba6c4.zip
FreeBSD-src-52d4a578ff53e36ba586a723a38a0d75113ba6c4.tar.gz
There is no need to get the bus tag or handle.
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r--sys/dev/mmc/host/dwmmc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index 6aa0a3e..bf28e47 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -117,8 +117,6 @@ struct idmac_desc {
struct dwmmc_softc {
struct resource *res[2];
- bus_space_tag_t bst;
- bus_space_handle_t bsh;
device_t dev;
void *intr_cookie;
struct mmc_host host;
@@ -563,10 +561,6 @@ dwmmc_attach(device_t dev)
return (ENXIO);
}
- /* Memory interface */
- sc->bst = rman_get_bustag(sc->res[0]);
- sc->bsh = rman_get_bushandle(sc->res[0]);
-
/* Setup interrupt handler. */
error = bus_setup_intr(dev, sc->res[1], INTR_TYPE_NET | INTR_MPSAFE,
NULL, dwmmc_intr, sc, &sc->intr_cookie);
OpenPOWER on IntegriCloud