]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: quatech2: drop redundant tty_buffer_request_room
authorJohan Hovold <johan@kernel.org>
Mon, 3 Apr 2017 09:58:55 +0000 (11:58 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 10 Apr 2017 07:42:00 +0000 (09:42 +0200)
commit185fcb3fbe6d32d894b8b72429622d91c59b10f6
treedee70ce372e4f4bb2fea265b4398a7f699dd6618
parent7aac5e7d204f344f5f273deeeb8fd237e4f5b87c
USB: serial: quatech2: drop redundant tty_buffer_request_room

Drop redundant calls to tty_buffer_request_room and use the more
efficient tty_insert_flip_char when inserting single characters.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/quatech2.c