diff options
author | gonzo <gonzo@FreeBSD.org> | 2009-01-14 22:46:13 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2009-01-14 22:46:13 +0000 |
commit | 312e0e04b292d175b0d231c218ceedd7ec327757 (patch) | |
tree | 9f25f18e7d64910e0dc5af5d79fe4932d62fc4aa /sys/mips/idt | |
parent | 1b3a99ae5795e2b848c1cb81e453c87d23ffd21d (diff) | |
download | FreeBSD-src-312e0e04b292d175b0d231c218ceedd7ec327757.zip FreeBSD-src-312e0e04b292d175b0d231c218ceedd7ec327757.tar.gz |
o Code cleanup, remove unused fields of idtpci_softc
Diffstat (limited to 'sys/mips/idt')
-rw-r--r-- | sys/mips/idt/idtpci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/mips/idt/idtpci.c b/sys/mips/idt/idtpci.c index c7e3161..32033d4 100644 --- a/sys/mips/idt/idtpci.c +++ b/sys/mips/idt/idtpci.c @@ -125,8 +125,6 @@ struct idtpci_softc { struct rman sc_mem_rman[2]; struct rman sc_io_rman[2]; struct rman sc_irq_rman; - uint32_t sc_mem; - uint32_t sc_io; }; static uint32_t @@ -155,9 +153,6 @@ idtpci_attach(device_t dev) sc->sc_dev = dev; sc->sc_busno = busno; - sc->sc_io = 0; - sc->sc_mem = 0; - /* TODO: Check for host mode */ /* Enabled PCI, IG mode, EAP mode */ @@ -240,7 +235,6 @@ idtpci_attach(device_t dev) } /* Use KSEG1 to access IO ports for it is uncached */ - sc->sc_io = 0; sc->sc_io_rman[0].rm_type = RMAN_ARRAY; sc->sc_io_rman[0].rm_descr = "IDTPCI I/O Ports window 1"; if (rman_init(&sc->sc_io_rman[0]) != 0 || @@ -258,7 +252,6 @@ idtpci_attach(device_t dev) } /* Use KSEG1 to access PCI memory for it is uncached */ - sc->sc_mem = 0; sc->sc_mem_rman[0].rm_type = RMAN_ARRAY; sc->sc_mem_rman[0].rm_descr = "IDTPCI PCI Memory window 1"; if (rman_init(&sc->sc_mem_rman[0]) != 0 || |