Commit b6a2f10c authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

USB: tty: kill request_room for USB ACM class

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 67ccbd6f
...@@ -428,7 +428,6 @@ static void acm_rx_tasklet(unsigned long _acm) ...@@ -428,7 +428,6 @@ static void acm_rx_tasklet(unsigned long _acm)
throttled = acm->throttle; throttled = acm->throttle;
spin_unlock_irqrestore(&acm->throttle_lock, flags); spin_unlock_irqrestore(&acm->throttle_lock, flags);
if (!throttled) { if (!throttled) {
tty_buffer_request_room(tty, buf->size);
tty_insert_flip_string(tty, buf->base, buf->size); tty_insert_flip_string(tty, buf->base, buf->size);
tty_flip_buffer_push(tty); tty_flip_buffer_push(tty);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment