summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-02-17 14:07:05 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 23:55:09 +0100
commitb6a2f10ca045c9b0a4732c38485ad6ca1b663bf4 (patch)
tree9d40e350e521a6686bfe44cf24eac33dbe2e5cf5
parentUSB: tty: sort out the request_room handling for whiteheat (diff)
downloadlinux-b6a2f10ca045c9b0a4732c38485ad6ca1b663bf4.tar.xz
linux-b6a2f10ca045c9b0a4732c38485ad6ca1b663bf4.zip
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>
-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 b97f9309c827..975d556b4787 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 {