Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f64f70e authored by Tejun Heo's avatar Tejun Heo Committed by Dominik Brodowski
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent a5360df9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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.
	 */