workqueue: deprecate flush[_delayed]_work_sync()
[deliverable/linux.git] / drivers / mtd / mtdoops.c
index 551e316e4454d99f9b552a2924bea045784c7a8c..438737a1f59a3c882c5c6db3fade53696b341cd5 100644 (file)
@@ -387,8 +387,8 @@ static void mtdoops_notify_remove(struct mtd_info *mtd)
                printk(KERN_WARNING "mtdoops: could not unregister kmsg_dumper\n");
 
        cxt->mtd = NULL;
-       flush_work_sync(&cxt->work_erase);
-       flush_work_sync(&cxt->work_write);
+       flush_work(&cxt->work_erase);
+       flush_work(&cxt->work_write);
 }
 
 
This page took 0.026159 seconds and 5 git commands to generate.