diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 20:54:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-06 02:53:55 (GMT) |
commit | 1f0afd1607cde1a58068937f8c247fd3c58a866d (patch) | |
tree | 4e2bb854c0207009ba011a6ebe56f06f7ba2440f /drivers/tty/serial/serial_core.c | |
parent | 74866e7593d9824d527e73f548c4fb8e412588a1 (diff) | |
download | linux-1f0afd1607cde1a58068937f8c247fd3c58a866d.tar.xz |
serial: core: Remove redundant timeout assignments
tty_port_init() initializes close_delay and closing_wait to these
same values; remove.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r-- | drivers/tty/serial/serial_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 67b2c35..af1d466 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -2342,8 +2342,6 @@ int uart_register_driver(struct uart_driver *drv) tty_port_init(port); port->ops = &uart_port_ops; - port->close_delay = HZ / 2; /* .5 seconds */ - port->closing_wait = 30 * HZ;/* 30 seconds */ } retval = tty_register_driver(normal); |