summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2010-01-08 15:52:06 +0000
committertrasz <trasz@FreeBSD.org>2010-01-08 15:52:06 +0000
commit2d0be50fe9785f9ccd5e54715b9b89bb950b30ab (patch)
treecc711dd05a32a90c8be72a81017e72bf814b5a24 /sys/dev/usb/controller
parentda7de44de01029f14401423b32688e4039b0a415 (diff)
downloadFreeBSD-src-2d0be50fe9785f9ccd5e54715b9b89bb950b30ab.zip
FreeBSD-src-2d0be50fe9785f9ccd5e54715b9b89bb950b30ab.tar.gz
Remove unused uhci_dump_qhs().
Reviewed by: hps
Diffstat (limited to 'sys/dev/usb/controller')
-rw-r--r--sys/dev/usb/controller/uhci.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c
index 918855b..837a26f 100644
--- a/sys/dev/usb/controller/uhci.c
+++ b/sys/dev/usb/controller/uhci.c
@@ -830,33 +830,6 @@ uhci_dump_all(uhci_softc_t *sc)
}
static void
-uhci_dump_qhs(uhci_qh_t *sqh)
-{
- uint8_t temp;
-
- temp = uhci_dump_qh(sqh);
-
- /*
- * uhci_dump_qhs displays all the QHs and TDs from the given QH
- * onwards Traverses sideways first, then down.
- *
- * QH1 QH2 No QH TD2.1 TD2.2 TD1.1 etc.
- *
- * TD2.x being the TDs queued at QH2 and QH1 being referenced from QH1.
- */
-
- if (temp & 1)
- uhci_dump_qhs(sqh->h_next);
- else
- DPRINTF("No QH\n");
-
- if (temp & 2)
- uhci_dump_tds(sqh->e_next);
- else
- DPRINTF("No TD\n");
-}
-
-static void
uhci_dump_tds(uhci_td_t *td)
{
for (;
OpenPOWER on IntegriCloud