Re: [PATCH 41/70] usbcore: remove unused bandwith-related code

"Tilman Schmidt" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wed,  7 Feb 2007 16:35:41 -0800, "Greg KH" <[email protected]> said:
> From: Alan Stern <[email protected]>
> 
> This patch (as841) removes from usbcore a couple of support routines
> meant to help with bandwidth allocation.  With the changes to uhci-hcd
> in the previous patch, these routines are no longer used anywhere.
> Also removed is the CONFIG_USB_BANDWIDTH option; it no longer does
> anything and is no longer needed since the HCDs now handle bandwidth
> issues correctly.
> 
> Signed-off-by: Alan Stern <[email protected]>
> Signed-off-by: David Brownell <[email protected]>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>

> diff --git a/include/linux/usb.h b/include/linux/usb.h
> index 1c56386..3b08ab3 100644
> --- a/include/linux/usb.h
> +++ b/include/linux/usb.h
> @@ -1110,7 +1110,6 @@ struct urb
>  	struct kref kref;		/* reference count of the URB */
>  	spinlock_t lock;		/* lock for the URB */
>  	void *hcpriv;			/* private data for host controller */
> -       int bandwidth;                  /* bandwidth for INT/ISO request
> */
>  	atomic_t use_count;		/* concurrent submissions counter */
>  	u8 reject;			/* submissions will fail */

This breaks compilation of drivers/isdn/gigaset/bas-gigaset.c.
If you pass on this patch, please pass on Andrew's

fix-gregkh-usb-usbcore-remove-unused-bandwith-related-code.patch

along with it.

Thanks,
Tilman
-- 
  Tilman Schmidt
  [email protected]


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.