aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-02-17 13:07:05 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:55:09 -0800
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:
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 {