From: Tejun Heo Date: Fri, 15 Oct 2010 15:04:45 +0000 (+0200) Subject: serial_cs: drop spurious flush_scheduled_work() call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f64f70e9c029450e38fcc496148ffc9256bf8c1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Dominik Brodowski --- 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 @@ -330,11 +330,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. */