ChangeSet 1.1303.2.3, 2003/06/05 01:27:33-07:00, oliver@neukum.org [PATCH] USB: cut usb_set_config from hpusbscsi this cuts out old cruft. drivers/usb/image/hpusbscsi.c | 11 ----------- 1 files changed, 11 deletions(-) diff -Nru a/drivers/usb/image/hpusbscsi.c b/drivers/usb/image/hpusbscsi.c --- a/drivers/usb/image/hpusbscsi.c Thu Jun 5 13:45:01 2003 +++ b/drivers/usb/image/hpusbscsi.c Thu Jun 5 13:45:01 2003 @@ -93,17 +93,6 @@ } } - /* 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),