]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mxser: drop unused mxser_port::normal_termios
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:39 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:00 +0000 (13:10 +0200)
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>
drivers/tty/mxser.c

index 007137c3b5c9d2e672638eca20661ea3667470ff..e10fbe7270c91cd9a2c6f65cff9f26b9bc5f9472 100644 (file)
@@ -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 */