Commit a105e521 authored by Duncan Sands's avatar Duncan Sands Committed by Greg Kroah-Hartman

[PATCH] USB: be assertive in usbfs

Be assertive.
parent 0056af21
......@@ -350,7 +350,7 @@ static void driver_disconnect(struct usb_interface *intf)
* all pending I/O requests; 2.6 does that.
*/
if (ifnum < 8*sizeof(ps->ifclaimed))
WARN_ON(ifnum >= 8*sizeof(ps->ifclaimed));
clear_bit(ifnum, &ps->ifclaimed);
usb_set_intfdata (intf, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment