mxser: remove unused mxser_port::stop_rx
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:40 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:00 +0000 (13:10 +0200)
It's been a long time since mxser_port::stop_rx was abandoned. Remove it.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-35-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c

index e10fbe7..b47b17e 100644 (file)
@@ -281,7 +281,6 @@ struct mxser_port {
        u8 IER;                 /* Interrupt Enable Register */
        u8 MCR;                 /* Modem control register */
 
-       unsigned char stop_rx;
        unsigned char ldisc_stop_rx;
 
        int custom_divisor;
@@ -2009,7 +2008,6 @@ static int mxser_initbrd(struct mxser_board *brd)
                tty_port_init(&info->port);
                info->port.ops = &mxser_port_ops;
                info->board = brd;
-               info->stop_rx = 0;
                info->ldisc_stop_rx = 0;
 
                /* Enhance mode enabled here */