diff options
author | Tejun Heo <tj@kernel.org> | 2010-10-15 17:04:45 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-10-16 11:07:07 +0200 |
commit | 0f64f70e9c029450e38fcc496148ffc9256bf8c1 (patch) | |
tree | 89fd2b6678b78fde085450d6ce8f8ab9fc39f09e | |
parent | a5360df9413987ed56ce8cffad678e557eff92e1 (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>
-rw-r--r-- | drivers/serial/serial_cs.c | 5 |
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); |