aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_cs.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-10-15 11:04:45 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2010-10-16 05:07:07 -0400
commit0f64f70e9c029450e38fcc496148ffc9256bf8c1 (patch)
tree89fd2b6678b78fde085450d6ce8f8ab9fc39f09e /drivers/serial/serial_cs.c
parenta5360df9413987ed56ce8cffad678e557eff92e1 (diff)
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/serial_cs.c')
-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)
331 dev_dbg(&link->dev, "serial_detach\n"); 331 dev_dbg(&link->dev, "serial_detach\n");
332 332
333 /* 333 /*
334 * Ensure any outstanding scheduled tasks are completed.
335 */
336 flush_scheduled_work();
337
338 /*
339 * Ensure that the ports have been released. 334 * Ensure that the ports have been released.
340 */ 335 */
341 serial_remove(link); 336 serial_remove(link);