ChangeSet 1.1303.2.3, 2003/06/05 01:27:33-07:00, [EMAIL PROTECTED]

[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),



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to