Skip to contentSkip to conversation

USB uhci-debug.c: remove an unused function

PATCH New Adrian Bunk 1 participant 2 messages Oct 28, 2004 – Oct 29, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB uhci-debug.c: remove an unused function

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unused function from
drivers/usb/host/uhci-debug.c

diffstat output:

 drivers/usb/host/uhci-debug.c |   11 -----------
 1 files changed, 11 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/usb/host/uhci-debug.c.old 2004-10-28 23:30:40.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/usb/host/uhci-debug.c 2004-10-28 23:30:49.000000000 +0200
@@ -34,17 +34,6 @@
}
}

- -static inline int uhci_is_skeleton_qh(struct uhci_hcd *uhci, struct uhci_qh *qh)
- -{
- - int i;
- -
- - for (i = 0; i < UHCI_NUM_SKELQH; i++)
- - if (qh == uhci->skelqh[i])
- - return 1;
- -
- - return 0;
- -}
- -
static int uhci_show_td(struct uhci_td *td, char *buf, int len, int space) {
char *out = buf;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgYDbmfzqmE8StAARAnzfAKCMPOvCmI3QbtizyhG0Svs1By3b1gCdEA6k JI7PpvJ1zGTpdBCkEVMe3+M=
=tfCS
-----END PGP SIGNATURE-----

#1 lore raw

PATCH 1/1 USB uhci-debug.c: remove an unused function

[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from
drivers/usb/host/uhci-debug.c

diffstat output:

 drivers/usb/host/uhci-debug.c |   11 -----------
 1 files changed, 11 deletions(-)
drivers/usb/host/uhci-debug.c renamed from drivers/usb/host/uhci-debug.c.old +0 -11
@@ -34,17 +34,6 @@
 	}
 }
 
-static inline int uhci_is_skeleton_qh(struct uhci_hcd *uhci, struct uhci_qh *qh)
-{
-	int i;
-
-	for (i = 0; i < UHCI_NUM_SKELQH; i++)
-		if (qh == uhci->skelqh[i])
-			return 1;
-
-	return 0;
-}
-
 static int uhci_show_td(struct uhci_td *td, char *buf, int len, int space)
 {
 	char *out = buf;