Commit b57d04eb authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

[PATCH] USB: hpusbscsi - kill wrong error case

parent fddc87bb
...@@ -31,7 +31,7 @@ struct list_head hpusbscsi_devices; ...@@ -31,7 +31,7 @@ struct list_head hpusbscsi_devices;
/* USB related parts */ /* USB related parts */
static int static int
hpusbscsi_usb_probe (struct usb_interface *intf, hpusbscsi_usb_probe (struct usb_interface *intf,
const struct usb_device_id *id) const struct usb_device_id *id)
{ {
struct hpusbscsi *new; struct hpusbscsi *new;
...@@ -109,11 +109,6 @@ hpusbscsi_usb_probe (struct usb_interface *intf, ...@@ -109,11 +109,6 @@ hpusbscsi_usb_probe (struct usb_interface *intf,
switch (result) { switch (result) {
case 0: /* no error */ case 0: /* no error */
break; break;
case -EPIPE:
usb_clear_halt (dev, usb_sndctrlpipe (dev, 0));
break;
default: default:
printk (KERN_ERR "unknown error %d from usb_set_interface\n", printk (KERN_ERR "unknown error %d from usb_set_interface\n",
result); result);
......
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