USB: tty: kill request_room for USB ACM class
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
67ccbd6f1a
commit
b6a2f10ca0
@ -428,7 +428,6 @@ static void acm_rx_tasklet(unsigned long _acm)
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user