linux-stable/drivers/tty/serial/jsm
Colin Ian King 5fcd6e71e8 tty: jsm: Remove redundant assignment to variable linestatus
The variable linestate being assigned a value that is never read, the
following continue statement jumps to the end of the while-loop and then
it is re-assigned a new value. The assignment is redundant and can be
removed.

Cleans up clang scan build warning:
drivers/tty/serial/jsm/jsm_cls.c:398:4: warning: Value stored
to 'linestatus' is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240216121732.2106445-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-18 18:59:58 +01:00
..
jsm_cls.c tty: jsm: Remove redundant assignment to variable linestatus 2024-02-18 18:59:58 +01:00
jsm_driver.c drivers: serial: jsm: fix some leaks in probe 2022-09-22 16:11:43 +02:00
jsm_neo.c tty: jsm: remove unused members from struct board_ops 2023-11-23 19:16:03 +00:00
jsm_tty.c serial: jsm: Use port lock wrappers 2023-09-18 11:18:11 +02:00
jsm.h tty: jsm: remove unused struct jsm_board members 2023-11-23 19:16:03 +00:00
Makefile tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00