diff options
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 1 |
1 files changed, 0 insertions, 1 deletions
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: | |||
428 | throttled = acm->throttle; | 428 | throttled = acm->throttle; |
429 | spin_unlock_irqrestore(&acm->throttle_lock, flags); | 429 | spin_unlock_irqrestore(&acm->throttle_lock, flags); |
430 | if (!throttled) { | 430 | if (!throttled) { |
431 | tty_buffer_request_room(tty, buf->size); | ||
432 | tty_insert_flip_string(tty, buf->base, buf->size); | 431 | tty_insert_flip_string(tty, buf->base, buf->size); |
433 | tty_flip_buffer_push(tty); | 432 | tty_flip_buffer_push(tty); |
434 | } else { | 433 | } else { |