<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">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-&gt;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-&gt;controlurb, new-&gt;dev,
 			usb_rcvintpipe(new-&gt;dev, new-&gt;ep_int),
</pre></body></html>