aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-06-18 08:14:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-18 13:10:00 +0200
commitcc673990292c21c4bc02461e362d920fe8a7858b (patch)
tree8ea8873b0a3307c73559f8a0ba9df90fee27cb72 /drivers/tty
parentmxser: don't allocate MXSER_PORTS + 1 (diff)
downloadlinux-dev-cc673990292c21c4bc02461e362d920fe8a7858b.tar.xz
linux-dev-cc673990292c21c4bc02461e362d920fe8a7858b.zip
mxser: drop unused mxser_port::normal_termios
After the previous patches, mxser_port::normal_termios is unused, so time to wave bye-bye. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210618061516.662-34-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/mxser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c
index 007137c3b5c9..e10fbe7270c9 100644
--- a/drivers/tty/mxser.c
+++ b/drivers/tty/mxser.c
@@ -297,8 +297,6 @@ struct mxser_port {
unsigned int xmit_cnt;
int closing;
- struct ktermios normal_termios;
-
spinlock_t slock;
};
@@ -2025,7 +2023,6 @@ static int mxser_initbrd(struct mxser_board *brd)
info->custom_divisor = info->baud_base * 16;
info->port.close_delay = 5 * HZ / 10;
info->port.closing_wait = 30 * HZ;
- info->normal_termios = mxvar_sdriver->init_termios;
spin_lock_init(&info->slock);
/* before set INT ISR, disable all int */