public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] USB uhci-debug.c: remove an unused function (fwd)
@ 2004-12-07 19:35 Adrian Bunk
  2004-12-07 20:13 ` [linux-usb-devel] " Alan Stern
  2004-12-09 20:43 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2004-12-07 19:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: stern, greg, linux-usb-devel, linux-kernel


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

Please apply.


----- Forwarded message from Adrian Bunk <bunk@stusta.de> -----

Date:	Fri, 29 Oct 2004 02:30:16 +0200
From: Adrian Bunk <bunk@stusta.de>
To: stern@rowland.harvard.edu
Cc: greg@kroah.com, linux-usb-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
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(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-usb-devel] [2.6 patch] USB uhci-debug.c: remove an unused function (fwd)
  2004-12-07 19:35 [2.6 patch] USB uhci-debug.c: remove an unused function (fwd) Adrian Bunk
@ 2004-12-07 20:13 ` Alan Stern
  2004-12-09 20:43 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Stern @ 2004-12-07 20:13 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, greg, linux-usb-devel, linux-kernel

On Tue, 7 Dec 2004, Adrian Bunk wrote:

> 
> The patch forwarded below still applies and compiles against 
> 2.6.10-rc2-mm4.
> 
> Please apply.
> 
> 
> ----- Forwarded message from Adrian Bunk <bunk@stusta.de> -----
> 
> Date:	Fri, 29 Oct 2004 02:30:16 +0200
> From: Adrian Bunk <bunk@stusta.de>
> To: stern@rowland.harvard.edu
> Cc: greg@kroah.com, linux-usb-devel@lists.sourceforge.net,
> 	linux-kernel@vger.kernel.org
> 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(-)
> 
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> --- 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;
> -

This has my approval.

Alan Stern


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] USB uhci-debug.c: remove an unused function (fwd)
  2004-12-07 19:35 [2.6 patch] USB uhci-debug.c: remove an unused function (fwd) Adrian Bunk
  2004-12-07 20:13 ` [linux-usb-devel] " Alan Stern
@ 2004-12-09 20:43 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-12-09 20:43 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, stern, linux-usb-devel, linux-kernel

On Tue, Dec 07, 2004 at 08:35:10PM +0100, Adrian Bunk wrote:
> 
> The patch forwarded below still applies and compiles against 
> 2.6.10-rc2-mm4.
> 
> Please apply.

Applied, thanks.

greg k-h


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-09 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 19:35 [2.6 patch] USB uhci-debug.c: remove an unused function (fwd) Adrian Bunk
2004-12-07 20:13 ` [linux-usb-devel] " Alan Stern
2004-12-09 20:43 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox