Re: [linux-usb-devel] [2.6 patch] USB uhci-debug.c: remove an unusedfunction (fwd)

From: Alan Stern
Date: Tue Dec 07 2004 - 15:16:17 EST


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@xxxxxxxxx> -----
>
> Date: Fri, 29 Oct 2004 02:30:16 +0200
> From: Adrian Bunk <bunk@xxxxxxxxx>
> To: stern@xxxxxxxxxxxxxxxxxxx
> Cc: greg@xxxxxxxxx, linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx,
> linux-kernel@xxxxxxxxxxxxxxx
> 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@xxxxxxxxx>
>
> --- 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

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