From 0f64f70e9c029450e38fcc496148ffc9256bf8c1 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Fri, 15 Oct 2010 17:04:45 +0200 Subject: 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 --- drivers/serial/serial_cs.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c index 649ce543327..93760b2ea17 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. */ -- cgit v1.2.3-70-g09d2