]> Git Repo - linux.git/commit - drivers/tty/n_tty.c
n_tty: Refactor input_available_p() by call site
authorPeter Hurley <[email protected]>
Mon, 2 Dec 2013 19:24:45 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <[email protected]>
Mon, 9 Dec 2013 00:52:40 +0000 (16:52 -0800)
commiteafbe67f84761d787802e5113d895a316b6292fe
treeab2e9fe80d4ce8148334c84fb11ea8f792069d7f
parent001ba923719bc555552ac4c9fe8df4d8c888df39
n_tty: Refactor input_available_p() by call site

Distinguish if caller is n_tty_poll() or n_tty_read(), and
set the read/wakeup threshold accordingly.

Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/n_tty.c
This page took 0.045256 seconds and 4 git commands to generate.