All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nozomi: don't use flush_scheduled_work()
@ 2011-01-24 16:54 Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2011-01-24 16:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Jiri Slaby, Alan Cox, linux-kernel

flush_scheduled_work() in tty_exit() doesn't seem to target any
specific work.  If it was to flush work items used in tty generic
layer, they're already flushed properly during tty release.

flush_scheduled_work() is going away.  Remove the seemingly redundant
usage.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/char/nozomi.c |    2 --
 1 file changed, 2 deletions(-)

Index: work/drivers/char/nozomi.c
===================================================================
--- work.orig/drivers/char/nozomi.c
+++ work/drivers/char/nozomi.c
@@ -1514,8 +1514,6 @@ static void __devexit tty_exit(struct no
 
 	DBG1(" ");
 
-	flush_scheduled_work();
-
 	for (i = 0; i < MAX_PORT; ++i) {
 		struct tty_struct *tty = tty_port_tty_get(&dc->port[i].port);
 		if (tty && list_empty(&tty->hangup_work.entry))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-24 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 16:54 [PATCH] nozomi: don't use flush_scheduled_work() Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.