diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-05-19 09:56:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-19 18:23:19 +0200 |
commit | ae1de09341d9becf0e68d3dcd0710f2cac4a5d01 (patch) | |
tree | 2978a2dc94e55597d2248ac642c7b2aba0c1257a /drivers/tty/serial/pmac_zilog.h | |
parent | serial: pmac_zilog: remove unfinished DBDMA support (diff) | |
download | linux-dev-ae1de09341d9becf0e68d3dcd0710f2cac4a5d01.tar.xz linux-dev-ae1de09341d9becf0e68d3dcd0710f2cac4a5d01.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/tty/serial/pmac_zilog.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/pmac_zilog.h b/drivers/tty/serial/pmac_zilog.h index 87337b748d6d..837b97ca0a90 100644 --- a/drivers/tty/serial/pmac_zilog.h +++ b/drivers/tty/serial/pmac_zilog.h @@ -55,8 +55,6 @@ struct uart_pmac_port { volatile u8 __iomem *data_reg; unsigned char irq_name[8]; - - struct ktermios termios_cache; }; #define to_pmz(p) ((struct uart_pmac_port *)(p)) |