]> git.baikalelectronics.ru Git - kernel.git/commit
serial: pmac_zilog: remove unused uart_pmac_port::termios_cache
authorJiri Slaby <jslaby@suse.cz>
Thu, 19 May 2022 07:56:51 +0000 (09:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 16:23:19 +0000 (18:23 +0200)
commit081051ed51bfc8ad805cca9156d62ce761827a9c
tree2978a2dc94e55597d2248ac642c7b2aba0c1257a
parent0699545ddd127c1e26b68986411825ff36591bce
serial: pmac_zilog: remove unused uart_pmac_port::termios_cache

struct uart_pmac_port contains termios_cache. It is only written and
never read. Remove it as it only occupies space.

Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220519075653.31356-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pmac_zilog.c
drivers/tty/serial/pmac_zilog.h