aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 08:52:13 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 14:48:42 -0500
commitc5f0508b992ad081ba378a59b2404966f9f89429 (patch)
tree213b0bde78d50c6679f7e668be16c93a71b0bd95 /arch/ia64
parent9c8efecc91c02056340ae19612315f3225e6dbe2 (diff)
TTY: amiserial, remove tasklet for tty_wakeup
tty_wakeup is safe to be called from all contexts. No need to schedule a tasklet for that. Let's call it directly like in other drivers. This allows us to kill another member of async_struct structure. (If we remove the dummy uses in simserial.) Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/hp/sim/simserial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index 9890b58960a7..0d324e85379e 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -572,7 +572,6 @@ static void rs_close(struct tty_struct *tty, struct file * filp)
572 shutdown(info); 572 shutdown(info);
573 rs_flush_buffer(tty); 573 rs_flush_buffer(tty);
574 tty_ldisc_flush(tty); 574 tty_ldisc_flush(tty);
575 info->event = 0;
576 info->tty = NULL; 575 info->tty = NULL;
577 if (info->blocked_open) { 576 if (info->blocked_open) {
578 if (info->close_delay) 577 if (info->close_delay)
@@ -610,7 +609,6 @@ static void rs_hangup(struct tty_struct *tty)
610 return; 609 return;
611 shutdown(info); 610 shutdown(info);
612 611
613 info->event = 0;
614 state->count = 0; 612 state->count = 0;
615 info->flags &= ~ASYNC_NORMAL_ACTIVE; 613 info->flags &= ~ASYNC_NORMAL_ACTIVE;
616 info->tty = NULL; 614 info->tty = NULL;