]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gigaset: prune use of tty_buffer_request_room
authorTilman Schmidt <tilman@imap.cc>
Sun, 14 Mar 2010 12:58:05 +0000 (12:58 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:27 +0000 (16:01 -0700)
commit49a80f179a3a8ba7c18db26dbfa9a4bca65602a0
treee0030957e1cb1900dd85f7bfda97f3ff9e1f17b4
parentcfbb7c7fb13394c0b501939f721ffa83c604f647
gigaset: prune use of tty_buffer_request_room

commit 873a69a358a6b393fd8d9d92e193ec8895cac4d7 upstream.

Calling tty_buffer_request_room() before tty_insert_flip_string()
is unnecessary, costs CPU and for big buffers can mess up the
multi-page allocation avoidance.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Karsten Keil <keil@b1-systems.de>
CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/gigaset/interface.c