diff options
author | Tejun Heo <tj@kernel.org> | 2010-10-15 15:04:45 (GMT) |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-10-16 09:07:07 (GMT) |
commit | 0f64f70e9c029450e38fcc496148ffc9256bf8c1 (patch) | |
tree | 89fd2b6678b78fde085450d6ce8f8ab9fc39f09e /drivers | |
parent | a5360df9413987ed56ce8cffad678e557eff92e1 (diff) | |
download | linux-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')
-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 649ce54..93760b2 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); |