git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be06e7
)
TTY: jsm, remove superfluous check
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:25 +0000
(13:12 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:17:20 +0000
(16:17 -0700)
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>
No differences found