1
0
Fork 0
alistair23-linux/drivers/tty/serial/jsm
Jiri Slaby b1622e0ac1 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>
2013-03-18 16:17:20 -07:00
..
Makefile tty: move drivers/serial/ to drivers/tty/serial/ 2011-01-13 12:10:18 -08:00
jsm.h serial: jsm: Convert jsm_printk to jsm_dbg 2012-10-30 14:04:52 -07:00
jsm_driver.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
jsm_neo.c serial: jsm: Convert jsm_printk to jsm_dbg 2012-10-30 14:04:52 -07:00
jsm_tty.c TTY: jsm, remove superfluous check 2013-03-18 16:17:20 -07:00