[33/70] mxser: drop unused mxser_port::normal_termios

Message ID 20210618061516.662-34-jslaby@suse.cz
State New
Headers show
Series
  • mxser: cleanup
Related show

Commit Message

Jiri Slaby June 18, 2021, 6:14 a.m.
After the previous patches, mxser_port::normal_termios is unused, so
time to wave bye-bye.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/tty/mxser.c | 3 ---
 1 file changed, 3 deletions(-)

Patch

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 */