n_tty: Get read_cnt through accessor
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:20 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:00 +0000 (16:43 -0700)
commitce74117a1823431c86f5cb620fa852d21310feac
tree5b07929bb96880f81750ab80d437b54f6ad248d9
parent475340846f4c9c307f2de03cb4fcc486e267e974
n_tty: Get read_cnt through accessor

Prepare for replacing read_cnt field with computed value.

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