mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 02:35:58 +01:00
Remove uneeded flush work in workqueue_cheat
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user