tty: Factor flip buffer initialization into helper function
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:03 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:07 +0000 (16:47 -0700)
commit9dd5139f973f55ab4b2e9aff8171781f1e55b29d
tree73d115cde8da85d22a9457de1d4f5567f67f0932
parent1cef50e317c3395c6e8451f2b82a155db6ef2b42
tty: Factor flip buffer initialization into helper function

Factor shared code; prepare for adding 0-sized sentinel flip buffer.

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