tty: jsm: remove unused members from struct board_ops
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Tue, 21 Nov 2023 10:36:23 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 19:16:03 +0000 (19:16 +0000)
commit79b18e51226e5d99c597a0ed8fee3df1dd595c99
tree52d3782dc481d68433b5b288350bb95f2e0d9911
parent5bd8ad372398e64c8a33cb3a0c2a5f823c997ef7
tty: jsm: remove unused members from struct board_ops

clang-struct [1] found board_ops::get_uart_bytes_left() and
::send_immediate_char() unused.

Both are only set but never called. And it has been like that since the
git history, so drop both the members along with the cls+neo
implementations.

[1] https://github.com/jirislaby/clang-struct

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231121103626.17772-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm.h
drivers/tty/serial/jsm/jsm_cls.c
drivers/tty/serial/jsm/jsm_neo.c