From: Alan Cox Date: Wed, 17 Feb 2010 13:07:05 +0000 (+0000) Subject: USB: tty: kill request_room for USB ACM class X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6a2f10ca045c9b0a4732c38485ad6ca1b663bf4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git USB: tty: kill request_room for USB ACM class Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index b97f9309c827..975d556b4787 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -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 {