Remove uneeded flush work in workqueue_cheat

This commit is contained in:
Ciro Santilli
2017-05-15 09:36:40 +01:00
parent 690284a3bf
commit e157a9ac14
2 changed files with 2 additions and 8 deletions

View File

@@ -43,9 +43,6 @@ void cleanup_module(void)
{
/* This waits for the work to finish. From docstring: */
/* > Cancel @work and wait for its execution to finish. */
cancel_work(&work);
/*cancel_work(&work);*/
cancel_work_sync(&work);
destroy_workqueue(queue);
}