n_tty: Move buffers into n_tty_data
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 14:21:19 +0000 (10:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 00:08:40 +0000 (17:08 -0700)
commit20bafb3d23d108bc0a896eb8b7c1501f4f649b77
tree0bf413c30569ea07cae3882e50b897a084b89d62
parent8cb06c983822103da1cfe57b9901e60a00e61f67
n_tty: Move buffers into n_tty_data

Reduce pointer reloading and improve locality-of-reference;
allocate read_buf and echo_buf within struct n_tty_data.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c