diff options
Diffstat (limited to 'drivers/usb/serial/garmin_gps.c')
-rw-r--r-- | drivers/usb/serial/garmin_gps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c index 6bbedfbb0fb..a42b29a695b 100644 --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c | |||
@@ -271,7 +271,6 @@ static void send_to_tty(struct usb_serial_port *port, | |||
271 | usb_serial_debug_data(debug, &port->dev, | 271 | usb_serial_debug_data(debug, &port->dev, |
272 | __func__, actual_length, data); | 272 | __func__, actual_length, data); |
273 | 273 | ||
274 | tty_buffer_request_room(tty, actual_length); | ||
275 | tty_insert_flip_string(tty, data, actual_length); | 274 | tty_insert_flip_string(tty, data, actual_length); |
276 | tty_flip_buffer_push(tty); | 275 | tty_flip_buffer_push(tty); |
277 | } | 276 | } |