mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
update patch
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
/*
|
||||
Declare more work from a workqueue.
|
||||
|
||||
TODO: kernel panic. Why?
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
@@ -35,7 +33,6 @@ static int myinit(void)
|
||||
static void myexit(void)
|
||||
{
|
||||
cancel_delayed_work(&next_work);
|
||||
flush_workqueue( queue );
|
||||
destroy_workqueue(queue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user