USB: tty: kill request_room for USB ACM class
authorAlan Cox <alan@linux.intel.com>
Wed, 17 Feb 2010 13:07:05 +0000 (13:07 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:09 +0000 (14:55 -0800)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c

index b97f930..975d556 100644 (file)
@@ -428,7 +428,6 @@ next_buffer:
                throttled = acm->throttle;
                spin_unlock_irqrestore(&acm->throttle_lock, flags);
                if (!throttled) {
-                       tty_buffer_request_room(tty, buf->size);
                        tty_insert_flip_string(tty, buf->base, buf->size);
                        tty_flip_buffer_push(tty);
                } else {