USB: fix __must_check warnings in drivers/usb/core/

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman
2006-08-28 11:43:25 -07:00
parent 592fbbe4bc
commit 1b21d5e166
6 changed files with 80 additions and 29 deletions
+1 -1
View File
@@ -1359,7 +1359,7 @@ static int proc_ioctl(struct dev_state *ps, struct usbdevfs_ioctl *ctl)
/* let kernel drivers try to (re)bind to the interface */
case USBDEVFS_CONNECT:
usb_unlock_device(ps->dev);
bus_rescan_devices(intf->dev.bus);
retval = bus_rescan_devices(intf->dev.bus);
usb_lock_device(ps->dev);
break;