From 01c3de9a10bb917b50d98f5565fb50dcafd1239a Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Fri, 18 Jun 2021 08:14:40 +0200 Subject: [PATCH] mxser: remove unused mxser_port::stop_rx It's been a long time since mxser_port::stop_rx was abandoned. Remove it. Signed-off-by: Jiri Slaby Link: https://lore.kernel.org/r/20210618061516.662-35-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- drivers/tty/mxser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index e10fbe7..b47b17e 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c @@ -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 */ -- 2.7.4