All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2.6.36-rc7] serial_cs: drop spurious flush_scheduled_work() call
@ 2010-10-15 15:04 Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2010-10-15 15:04 UTC (permalink / raw)
  To: lkml, linux-pcmcia, Dominik Brodowski

serial_cs doesn't use the system workqueue.  Drop spurious
flush_scheduled_work() call.

This is to prepare for the deprecation and removal of
flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
---
 drivers/serial/serial_cs.c |    5 -----
 1 file changed, 5 deletions(-)

Index: work/drivers/serial/serial_cs.c
===================================================================
--- work.orig/drivers/serial/serial_cs.c
+++ work/drivers/serial/serial_cs.c
@@ -363,11 +363,6 @@ static void serial_detach(struct pcmcia_
 	dev_dbg(&link->dev, "serial_detach\n");

 	/*
-	 * Ensure any outstanding scheduled tasks are completed.
-	 */
-	flush_scheduled_work();
-
-	/*
 	 * Ensure that the ports have been released.
 	 */
 	serial_remove(link);

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

only message in thread, other threads:[~2010-10-15 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-15 15:04 [PATCH v2.6.36-rc7] serial_cs: drop spurious flush_scheduled_work() call 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.