Commit 6e0db084 authored by Oliver Neukum's avatar Oliver Neukum Committed by Ben Collins

[PATCH] USB: cut usb_set_config from hpusbscsi

this cuts out old cruft.
parent a777aef3
......@@ -93,17 +93,6 @@ hpusbscsi_usb_probe(struct usb_interface *intf,
}
}
/* USB initialisation magic for the simple case */
result = usb_set_interface(dev, altsetting->desc.bInterfaceNumber, 0);
switch (result) {
case 0: /* no error */
break;
default:
printk(KERN_ERR "unknown error %d from usb_set_interface\n",
result);
goto out_free_controlurb;
}
/* build and submit an interrupt URB for status byte handling */
usb_fill_int_urb(new->controlurb, new->dev,
usb_rcvintpipe(new->dev, new->ep_int),
......
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