ChangeSet 1.865.28.8, 2002/12/19 12:10:13-08:00, oliver@neukum.name [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. diff -Nru a/drivers/usb/misc/speedtouch.c b/drivers/usb/misc/speedtouch.c --- a/drivers/usb/misc/speedtouch.c Sun Dec 22 00:40:36 2002 +++ b/drivers/usb/misc/speedtouch.c Sun Dec 22 00:40:36 2002 @@ -997,11 +997,6 @@ PDEBUG ("disconnecting minor %d\n", i); - while (MOD_IN_USE > 1) { - current->state = TASK_INTERRUPTIBLE; - schedule_timeout (1); - } - kfree (instance); minor_data[i] = NULL;