diff options
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index b996e6cde6bb..74db135f9957 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -220,14 +220,10 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } | |||
220 | #endif | 220 | #endif |
221 | 221 | ||
222 | #define INIT_WORK(_work, _func) \ | 222 | #define INIT_WORK(_work, _func) \ |
223 | do { \ | 223 | __INIT_WORK((_work), (_func), 0) |
224 | __INIT_WORK((_work), (_func), 0); \ | ||
225 | } while (0) | ||
226 | 224 | ||
227 | #define INIT_WORK_ONSTACK(_work, _func) \ | 225 | #define INIT_WORK_ONSTACK(_work, _func) \ |
228 | do { \ | 226 | __INIT_WORK((_work), (_func), 1) |
229 | __INIT_WORK((_work), (_func), 1); \ | ||
230 | } while (0) | ||
231 | 227 | ||
232 | #define __INIT_DELAYED_WORK(_work, _func, _tflags) \ | 228 | #define __INIT_DELAYED_WORK(_work, _func, _tflags) \ |
233 | do { \ | 229 | do { \ |