tty: serial_cs: remove unused struct serial_cfg_mem
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Tue, 21 Nov 2023 10:36:26 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 19:16:03 +0000 (19:16 +0000)
commit50d371a9c5babf54bbcd267a09a2786b6a44a194
tree2bc6828505dac1a7225eec8522d73e3879cf0e92
parentd0b2b1efbdd29662896591791f1c38477d78d483
tty: serial_cs: remove unused struct serial_cfg_mem

clang-struct [1] found struct serial_cfg_mem's members unused.

In fact, the whole structure is unused since commit 6ae3b84d9793
("serial_cs: use pcmcia_loop_config() and pre-determined values"). Drop
it completely.

[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-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/serial_cs.c