On Mon, Jul 07, 2003 at 10:20:32AM -0400, Alan Stern wrote:
> Greg:
> 
> This fixes a minor error in usb-skeleton's disconnect() routine: if the 
> interface's private data is NULL, the current code exits without releasing 
> the disconnect_sem semaphore.

Yeah, but if dev is null, then the semaphore is already released, right?

So yes, the check is being paranoid, but I don't see a problem with
being paranoid in this kind of situation, do you?

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to