mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
a5360df941
commit
0f64f70e9c
1 changed files with 0 additions and 5 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue