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

index b97f9309c827166d378a42b363413bbaf5d54cf3..975d556b47874e5148b1520ff5bb5cc6a8c072bc 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 {