summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-10-15 19:04:45 +0400
committerDominik Brodowski <linux@dominikbrodowski.net>2010-10-16 13:07:07 +0400
commit0f64f70e9c029450e38fcc496148ffc9256bf8c1 (patch)
tree89fd2b6678b78fde085450d6ce8f8ab9fc39f09e /drivers/serial
parenta5360df9413987ed56ce8cffad678e557eff92e1 (diff)
downloadlinux-0f64f70e9c029450e38fcc496148ffc9256bf8c1.tar.xz
serial_cs: drop spurious flush_scheduled_work() call
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> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_cs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c
index 649ce543327b..93760b2ea172 100644
--- a/drivers/serial/serial_cs.c
+++ b/drivers/serial/serial_cs.c
@@ -331,11 +331,6 @@ static void serial_detach(struct pcmcia_device *link)
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);