diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-10 20:36:08 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 14:13:44 -0800 |
commit | c9c10d912a91735a966d81114b28c4cff81dda59 (patch) | |
tree | de52f515b9db0e4bf380e29800e4bb3afaad332a /drivers/tty/rocket.c | |
parent | cee10c8cd3fde3da428ffafd4eb8847892a34d52 (diff) | |
download | linux-stable-c9c10d912a91735a966d81114b28c4cff81dda59.tar.gz linux-stable-c9c10d912a91735a966d81114b28c4cff81dda59.tar.bz2 linux-stable-c9c10d912a91735a966d81114b28c4cff81dda59.zip |
tty: rocket: Remove private close_wait
This driver's private completion variable, close_wait, is no longer
used for wait since "tty: Remove ASYNC_CLOSING checks in open()/hangup";
remove.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/rocket.c')
-rw-r--r-- | drivers/tty/rocket.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/rocket.c b/drivers/tty/rocket.c index f624b93a237f..9dd02daf45ca 100644 --- a/drivers/tty/rocket.c +++ b/drivers/tty/rocket.c @@ -643,7 +643,6 @@ static void init_r_port(int board, int aiop, int chan, struct pci_dev *pci_dev) info->chan = chan; tty_port_init(&info->port); info->port.ops = &rocket_port_ops; - init_completion(&info->close_wait); info->flags &= ~ROCKET_MODE_MASK; switch (pc104[board][line]) { case 422: @@ -1049,7 +1048,6 @@ static void rp_close(struct tty_struct *tty, struct file *filp) mutex_unlock(&port->mutex); tty_port_tty_set(port, NULL); - complete_all(&info->close_wait); atomic_dec(&rp_num_ports_open); #ifdef ROCKET_DEBUG_OPEN |