diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-26 20:10:04 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 21:57:54 +0200 |
commit | 41f9d29f09ca0b22c3631e8a39676e74cda9bcc0 (patch) | |
tree | 7ab5ed25f14466471fb55536e1cf71c514fb7fe9 /include | |
parent | signal: make sure we don't get stopped with pending task_work (diff) | |
download | linux-41f9d29f09ca0b22c3631e8a39676e74cda9bcc0.tar.xz linux-41f9d29f09ca0b22c3631e8a39676e74cda9bcc0.zip |
trimming task_work: kill ->data
get rid of the only user of ->data; this is _not_ the final variant - in the
end we'll have task_work and rcu_head identical and just use cred->rcu,
at which point the separate allocation will be gone completely.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/task_work.h | 4 |
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); |