Skip to contentSkip to conversation

USB uhci-debug.c: remove an unused function (fwd)

PATCH Applied Adrian Bunk 3 participants 3 messages Dec 7, 2004 – Dec 9, 2004

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

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

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm4.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Fri, 29 Oct 2004 02:30:16 +0200
From: Adrian Bunk <[email protected]>
To: [email protected]
Cc: [email protected], [email protected],
[email protected]
Subject: [2.6 patch] USB uhci-debug.c: remove an unused function

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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----

maintainer
#1 lore raw
Quoted 38 lines · Adrian Bunk

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm4.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Fri, 29 Oct 2004 02:30:16 +0200
From: Adrian Bunk <[email protected]>
To: [email protected]
Cc: [email protected], [email protected],
[email protected]
Subject: [2.6 patch] USB uhci-debug.c: remove an unused function

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 -5
@@ -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++)

drivers/usb/host/uhci-debug.c

Quoted 10 lines
drivers/usb/host/uhci-debug.c renamed from drivers/usb/host/uhci-debug.c.old +0 -7
-		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;
-

This has my approval.

Alan Stern

Applied
#2 lore raw
In reply to Adrian Bunk
Quoted 5 lines · Adrian Bunk

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm4.

Please apply.

Applied, thanks.

greg k-h