diff options
author | Jiri Slaby <jslaby@suse.cz> | 2013-03-07 16:12:25 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-19 03:17:20 +0400 |
commit | b1622e0ac1b18632cff1e9af807fcdcb2397071b (patch) | |
tree | ef18726b80319e87edd0f1162b8094ff36691879 /drivers/tty/synclink.c | |
parent | 6be06e7273c4682a15ca1f4adf1aeae510823530 (diff) | |
download | linux-b1622e0ac1b18632cff1e9af807fcdcb2397071b.tar.xz |
TTY: jsm, remove superfluous check
data_len in jsm_input cannot be zero as we would jump out early in the
function. It also cannot be negative because it is an int and we do
bitwise and with 8192. So remove the check.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclink.c')
0 files changed, 0 insertions, 0 deletions