n_tty: Refactor PARMRK doubling checks
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 2 Dec 2013 19:24:44 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 00:51:28 +0000 (16:51 -0800)
commit001ba923719bc555552ac4c9fe8df4d8c888df39
tree2ba02d8afb44991750e73f677f8464ef8104e27b
parent8dc4b25d2325002f716fffe2e35c9af43639c60f
n_tty: Refactor PARMRK doubling checks

Perform PARMRK doubling checks explicitly; remove ternary idiom
and local variable.

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