linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] tty: rocket: Remove private close_wait
@ 2016-01-10 22:43 Peter Hurley
  2016-01-10 22:43 ` [PATCH 2/9] n_tty: Ignore all read data when closing Peter Hurley
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Peter Hurley @ 2016-01-10 22:43 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Jiri Slaby, linux-kernel, linux-serial, Peter Hurley

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>
---
 drivers/tty/rocket.c     | 2 --
 drivers/tty/rocket_int.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/drivers/tty/rocket.c b/drivers/tty/rocket.c
index f624b93..9dd02da 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
diff --git a/drivers/tty/rocket_int.h b/drivers/tty/rocket_int.h
index 67e0f1e..ef1e1be 100644
--- a/drivers/tty/rocket_int.h
+++ b/drivers/tty/rocket_int.h
@@ -1144,7 +1144,6 @@ struct r_port {
 	int read_status_mask;
 	int cps;
 
-	struct completion close_wait;	/* Not yet matching the core */
 	spinlock_t slock;
 	struct mutex write_mtx;
 };
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-01-11  4:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-10 22:43 [PATCH 1/9] tty: rocket: Remove private close_wait Peter Hurley
2016-01-10 22:43 ` [PATCH 2/9] n_tty: Ignore all read data when closing Peter Hurley
2016-01-10 22:43 ` [PATCH 3/9] ia64: Pin controlling tty for unaligned fault message Peter Hurley
2016-01-10 22:43 ` [PATCH 4/9] staging: dgap: Remove redundant write_wait wakeups Peter Hurley
2016-01-10 22:43 ` [PATCH 5/9] tty: Fix GPF in flush_to_ldisc(), part 2 Peter Hurley
2016-01-10 22:43 ` [PATCH 6/9] tty: Unify receive_buf() code paths Peter Hurley
2016-01-10 22:43 ` [PATCH 7/9] tty: Allow unreadable mess to be > 80 chars Peter Hurley
2016-01-10 22:43 ` [PATCH 8/9] tty: Use termios c_*flag macros Peter Hurley
2016-01-10 22:43 ` [PATCH 9/9] tty: Use test_bit() with tty->flags Peter Hurley
2016-01-11  4:37 ` [PATCH 1/9] tty: rocket: Remove private close_wait Peter Hurley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).