diff options
author | cognet <cognet@FreeBSD.org> | 2007-09-04 18:45:27 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2007-09-04 18:45:27 +0000 |
commit | 79e92ec4eac31830992e4ba80d46d731147749f8 (patch) | |
tree | 4a4c568b7a74843b888dd373da75135385d7ff73 /sys | |
parent | 237f9d22c3ca3ce0923504cc6158517246f74233 (diff) | |
download | FreeBSD-src-79e92ec4eac31830992e4ba80d46d731147749f8.zip FreeBSD-src-79e92ec4eac31830992e4ba80d46d731147749f8.tar.gz |
There's no need to re-read PCIR_COMMAND once we set it.
Approved by: re (blanket)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/xscale/i80321/i80321.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/xscale/i80321/i80321.c b/sys/arm/xscale/i80321/i80321.c index 5b0d561..c7b6ee6 100644 --- a/sys/arm/xscale/i80321/i80321.c +++ b/sys/arm/xscale/i80321/i80321.c @@ -213,8 +213,6 @@ i80321_attach(struct i80321_softc *sc) PCIM_CMD_SERRESPEN; bus_space_write_4(sc->sc_st, sc->sc_atu_sh, PCIR_COMMAND, preg); - preg = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, - PCIR_COMMAND); } /* Initialize the bus space tags. */ i80321_io_bs_init(&sc->sc_pci_iot, sc); |