Skip to content

Commit

Permalink
serial_cs: drop spurious flush_scheduled_work() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Dominik Brodowski committed Oct 16, 2010
1 parent a5360df commit 0f64f70
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/serial/serial_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 0f64f70

Please sign in to comment.