summaryrefslogtreecommitdiff
path: root/drivers/tty/mxser.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-06-18 09:14:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-18 14:10:00 +0300
commitcc673990292c21c4bc02461e362d920fe8a7858b (patch)
tree8ea8873b0a3307c73559f8a0ba9df90fee27cb72 /drivers/tty/mxser.c
parent389fc82e475be8f6c1745f804470bea5e3bf7dc1 (diff)
downloadlinux-cc673990292c21c4bc02461e362d920fe8a7858b.tar.xz
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/mxser.c')
-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 */