diff options
Diffstat (limited to 'drivers/usb/serial/ipaq.c')
-rw-r--r-- | drivers/usb/serial/ipaq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c index d6231c38813e..3fea9298eb15 100644 --- a/drivers/usb/serial/ipaq.c +++ b/drivers/usb/serial/ipaq.c | |||
@@ -747,7 +747,6 @@ static void ipaq_read_bulk_callback(struct urb *urb) | |||
747 | 747 | ||
748 | tty = tty_port_tty_get(&port->port); | 748 | tty = tty_port_tty_get(&port->port); |
749 | if (tty && urb->actual_length) { | 749 | if (tty && urb->actual_length) { |
750 | tty_buffer_request_room(tty, urb->actual_length); | ||
751 | tty_insert_flip_string(tty, data, urb->actual_length); | 750 | tty_insert_flip_string(tty, data, urb->actual_length); |
752 | tty_flip_buffer_push(tty); | 751 | tty_flip_buffer_push(tty); |
753 | bytes_in += urb->actual_length; | 752 | bytes_in += urb->actual_length; |