Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 15:52:06 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201797 - head/sys/dev/usb/controller
Message-ID:  <201001081552.o08Fq69e017080@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Fri Jan  8 15:52:06 2010
New Revision: 201797
URL: http://svn.freebsd.org/changeset/base/201797

Log:
  Remove unused uhci_dump_qhs().
  
  Reviewed by:	hps

Modified:
  head/sys/dev/usb/controller/uhci.c

Modified: head/sys/dev/usb/controller/uhci.c
==============================================================================
--- head/sys/dev/usb/controller/uhci.c	Fri Jan  8 15:47:23 2010	(r201796)
+++ head/sys/dev/usb/controller/uhci.c	Fri Jan  8 15:52:06 2010	(r201797)
@@ -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 (;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001081552.o08Fq69e017080>