gigaset: prune use of tty_buffer_request_room
authorTilman Schmidt <[email protected]>
Sun, 14 Mar 2010 12:58:05 +0000 (12:58 +0000)
committerDavid S. Miller <[email protected]>
Mon, 15 Mar 2010 23:00:49 +0000 (16:00 -0700)
commit873a69a358a6b393fd8d9d92e193ec8895cac4d7
tree985836029ec83bdaaf1a990955c7216180cf4f00
parent3a0a3a6b92edf181f849ebd8417122392ba73a96
gigaset: prune use of tty_buffer_request_room

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 <[email protected]>
Acked-by: Karsten Keil <[email protected]>
CC: Alan Cox <[email protected]>, [email protected]
Signed-off-by: David S. Miller <[email protected]>
drivers/isdn/gigaset/interface.c