]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/task_work.h
Merge remote-tracking branch 'file-locks/linux-next'
[karo-tx-linux.git] / include / linux / task_work.h
index fb46b03b18522752538bfae6e192804e9629fc2a..ca5a1cf27daeb9487303dd29d9c58a9e571ecfb4 100644 (file)
@@ -18,8 +18,7 @@ void task_work_run(void);
 
 static inline void exit_task_work(struct task_struct *task)
 {
-       if (unlikely(task->task_works))
-               task_work_run();
+       task_work_run();
 }
 
 #endif /* _LINUX_TASK_WORK_H */