linux_dsm_epyc7002/drivers/tty/serial/jsm
Jakob Østergaard Jensen 98cb4ab09e tty: serial: jsm_tty: fixed redundant variable issue.
The variable "len" gets assigned once and it's value copied to
"n", which is then used for the rest of the function.

This patch fixes the unnecessary variable reassignment by using "len"
throughout the function instead.

Signed-off-by: Jakob Østergaard Jensen <jakob.jensen.91@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 13:36:09 -08:00
..
jsm_cls.c serial: jsm: some off by one bugs 2015-03-26 23:00:36 +01:00
jsm_driver.c drivers: serial: jsm: Switch "jsm" to JSM_DRIVER_NAME 2015-12-13 19:59:48 -08:00
jsm_neo.c serial/jsm: Deinline neo_parse_isr, save 688 bytes 2015-12-13 19:59:48 -08:00
jsm_tty.c tty: serial: jsm_tty: fixed redundant variable issue. 2016-02-07 13:36:09 -08:00
jsm.h serial: jsm: Fix unnecessary space before function ptr arguments 2014-11-25 17:06:38 -08:00
Makefile drivers: serial: jsm: Add the Classic board implementation 2014-11-06 15:17:34 -08:00