diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 22:54:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-06 03:53:55 +0100 |
commit | 1f0afd1607cde1a58068937f8c247fd3c58a866d (patch) | |
tree | 4e2bb854c0207009ba011a6ebe56f06f7ba2440f /drivers | |
parent | serial: core: Unwrap >80 char line in uart_close() (diff) | |
download | linux-1f0afd1607cde1a58068937f8c247fd3c58a866d.tar.xz linux-1f0afd1607cde1a58068937f8c247fd3c58a866d.zip |
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')
-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 67b2c355d32f..af1d46697e3f 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); |