update patch

This commit is contained in:
Ciro Santilli
2017-06-24 03:07:58 +01:00
parent f0b9bb30ea
commit 3f519a433d

View File

@@ -1,7 +1,5 @@
/* /*
Declare more work from a workqueue. Declare more work from a workqueue.
TODO: kernel panic. Why?
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
@@ -35,7 +33,6 @@ static int myinit(void)
static void myexit(void) static void myexit(void)
{ {
cancel_delayed_work(&next_work); cancel_delayed_work(&next_work);
flush_workqueue( queue );
destroy_workqueue(queue); destroy_workqueue(queue);
} }