aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/task_work.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/task_work.h')
-rw-r--r--include/linux/task_work.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/task_work.h b/include/linux/task_work.h
index 294d5d5e90b1..627421c0e108 100644
--- a/include/linux/task_work.h
+++ b/include/linux/task_work.h
@@ -10,14 +10,12 @@ typedef void (*task_work_func_t)(struct task_work *);
struct task_work {
struct hlist_node hlist;
task_work_func_t func;
- void *data;
};
static inline void
-init_task_work(struct task_work *twork, task_work_func_t func, void *data)
+init_task_work(struct task_work *twork, task_work_func_t func)
{
twork->func = func;
- twork->data = data;
}
int task_work_add(struct task_struct *task, struct task_work *twork, bool);