On Thu, May 13, 2004 at 02:02:53PM -0400, Alan Stern wrote:
> Nobody has paid any attention to this for a while, so here's my 
> implementation of usb_kill_urb().  The patch to follow (as278) shows how 
> using it can simplify the hub driver.
> 
> If anyone objects to the two new fields added to struct urb, I've got two 
> variations on this patch.

I don't object to that, I object to a new function call.  If we add
this, then what's the use of usb_unlink_urb() at all?  Why would a
driver ever want to call it?

So, why not just fix usb_unlink_urb() to do the same thing that this
usb_kill_urb() call does?  That seems much simpler to do, and no drivers
will have to be changed.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to