summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorsgalabov <sgalabov@FreeBSD.org>2016-04-15 15:22:28 +0000
committersgalabov <sgalabov@FreeBSD.org>2016-04-15 15:22:28 +0000
commitdbbcd0a8249843e57be9c9b065a2eae272bc3ba8 (patch)
treed38cd0991f74d5b14d22cd8d614cd5b88a503340 /sys/mips
parent46a0c35daefaba28e1547c1daacf6043df548b59 (diff)
downloadFreeBSD-src-dbbcd0a8249843e57be9c9b065a2eae272bc3ba8.zip
FreeBSD-src-dbbcd0a8249843e57be9c9b065a2eae272bc3ba8.tar.gz
Remove unneeded initialization in mtk_xhci.c
This is actually initialized properly within xhci.c, so it's better to not initialize it in mtk_xhci.c Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5935
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mediatek/mtk_xhci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/mips/mediatek/mtk_xhci.c b/sys/mips/mediatek/mtk_xhci.c
index 0899307..78328bb 100644
--- a/sys/mips/mediatek/mtk_xhci.c
+++ b/sys/mips/mediatek/mtk_xhci.c
@@ -99,7 +99,6 @@ mtk_xhci_fdt_attach(device_t self)
sc->sc_bus.parent = self;
sc->sc_bus.devices = sc->sc_devices;
sc->sc_bus.devices_max = XHCI_MAX_DEVICES;
- sc->sc_bus.dma_bits = 32;
rid = 0;
sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
OpenPOWER on IntegriCloud