tty: Merge tty_buffer_find() into tty_buffer_alloc()
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:04 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:08 +0000 (16:47 -0700)
commit11b9faa44df76189b8346ff602a2c01c610c37eb
tree90cd2ccef4e11ae1b362a2585f191ded97cc280d
parent9dd5139f973f55ab4b2e9aff8171781f1e55b29d
tty: Merge tty_buffer_find() into tty_buffer_alloc()

tty_buffer_find() implements a simple free list lookaside cache.
Merge this functionality into tty_buffer_alloc() to reflect the
more traditional alloc/free symmetry.

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