tty: serial: jsm: jsm_cls: Remove unused variable 'discard'
authorLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 19:35:24 +0000 (19:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 09:49:27 +0000 (10:49 +0100)
commit5d5b53cf92a73d06181a366ae8160708a18e0e1c
tree51ea3e743b5d6e9eadd2dee0c5c10a2549ef47d5
parent171044a70b5750ea621659b143c075a47c1bfe40
tty: serial: jsm: jsm_cls: Remove unused variable 'discard'

Fixes the following W=1 kernel build warning(s):

 drivers/tty/serial/jsm/jsm_cls.c: In function ‘cls_copy_data_from_uart_to_queue’:
 drivers/tty/serial/jsm/jsm_cls.c:400:7: warning: variable ‘discard’ set but not used [-Wunused-but-set-variable]

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-12-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_cls.c