Skip to content

Commit b1ce516

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
mxser: remove doubled sets of close times
tty_port::close_delay and ::closing_wait are set in tty_port_init() few lines above already, no need to reset them (to the same values). Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au> Link: https://lore.kernel.org/r/20240808103549.429349-4-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e64caf9 commit b1ce516

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/tty/mxser.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,8 +1770,6 @@ static void mxser_initbrd(struct mxser_board *brd, bool high_baud)
17701770

17711771
mxser_process_txrx_fifo(info);
17721772

1773-
info->port.close_delay = 5 * HZ / 10;
1774-
info->port.closing_wait = 30 * HZ;
17751773
spin_lock_init(&info->slock);
17761774

17771775
/* before set INT ISR, disable all int */

0 commit comments

Comments
 (0)