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

[PATCH] USB: remove obviously broken code from the speedtouch disconnect handler

I am not sure what this code was supposed to do, but it can stop khubd
indefinitely. It has to go.
parent c3da868f
...@@ -997,11 +997,6 @@ static void udsl_usb_disconnect (struct usb_interface *intf) ...@@ -997,11 +997,6 @@ static void udsl_usb_disconnect (struct usb_interface *intf)
PDEBUG ("disconnecting minor %d\n", i); PDEBUG ("disconnecting minor %d\n", i);
while (MOD_IN_USE > 1) {
current->state = TASK_INTERRUPTIBLE;
schedule_timeout (1);
}
kfree (instance); kfree (instance);
minor_data[i] = NULL; minor_data[i] = NULL;
......
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