aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-02-17 08:07:05 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 17:55:09 -0500
commitb6a2f10ca045c9b0a4732c38485ad6ca1b663bf4 (patch)
tree9d40e350e521a6686bfe44cf24eac33dbe2e5cf5 /drivers/usb
parent67ccbd6f1af3025af3224be5c4f992aaf8811334 (diff)
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/class/cdc-acm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index b97f9309c82..975d556b478 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 {