projects
/
cascardo
/
kernel
/
samples
/
workqueue
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cancel rearming work before exit.
[cascardo/kernel/samples/workqueue/.git]
/
wq.c
diff --git
a/wq.c
b/wq.c
index
e53c5f3
..
1818794
100644
(file)
--- a/
wq.c
+++ b/
wq.c
@@
-43,6
+43,7
@@
static int mywq_init(void)
static void mywq_exit(void)
{
+ cancel_delayed_work_sync(&mywork);
flush_workqueue(mywq);
destroy_workqueue(mywq);
}