diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2024-08-08 12:35:39 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-08-14 08:25:21 +0200 |
| commit | b1ce5164b5835eed98cee4132926e5b016179c8c (patch) | |
| tree | f5366ab4c93995a3ad3357537a8488a6b120deab | |
| parent | e64caf989c76d6cfb1b4226fc977c342449452ce (diff) | |
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) <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Jeremy Kerr <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/tty/mxser.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index 9a9a67b5afa0..6cfef88a18e3 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c @@ -1770,8 +1770,6 @@ static void mxser_initbrd(struct mxser_board *brd, bool high_baud) mxser_process_txrx_fifo(info); - info->port.close_delay = 5 * HZ / 10; - info->port.closing_wait = 30 * HZ; spin_lock_init(&info->slock); /* before set INT ISR, disable all int */ |