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