diff options
author | Li Zefan <lizefan@huawei.com> | 2014-03-28 03:22:19 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-29 09:15:54 -0400 |
commit | 1ec41830e087cda1f62dda4182c2b62811eb0ffc (patch) | |
tree | 6725a2fc2b5db623573bbb7d985a4cde1c115550 /include/linux | |
parent | e8604cb43690b781f9a7ad4a770f3e10259fe939 (diff) |
cgroup: remove useless argument from cgroup_exit()
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cgroup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 43d1ed30bae3..c2515851c1aa 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -33,7 +33,7 @@ extern int cgroup_init_early(void); | |||
33 | extern int cgroup_init(void); | 33 | extern int cgroup_init(void); |
34 | extern void cgroup_fork(struct task_struct *p); | 34 | extern void cgroup_fork(struct task_struct *p); |
35 | extern void cgroup_post_fork(struct task_struct *p); | 35 | extern void cgroup_post_fork(struct task_struct *p); |
36 | extern void cgroup_exit(struct task_struct *p, int run_callbacks); | 36 | extern void cgroup_exit(struct task_struct *p); |
37 | extern int cgroupstats_build(struct cgroupstats *stats, | 37 | extern int cgroupstats_build(struct cgroupstats *stats, |
38 | struct dentry *dentry); | 38 | struct dentry *dentry); |
39 | 39 | ||
@@ -843,7 +843,7 @@ static inline int cgroup_init_early(void) { return 0; } | |||
843 | static inline int cgroup_init(void) { return 0; } | 843 | static inline int cgroup_init(void) { return 0; } |
844 | static inline void cgroup_fork(struct task_struct *p) {} | 844 | static inline void cgroup_fork(struct task_struct *p) {} |
845 | static inline void cgroup_post_fork(struct task_struct *p) {} | 845 | static inline void cgroup_post_fork(struct task_struct *p) {} |
846 | static inline void cgroup_exit(struct task_struct *p, int callbacks) {} | 846 | static inline void cgroup_exit(struct task_struct *p) {} |
847 | 847 | ||
848 | static inline int cgroupstats_build(struct cgroupstats *stats, | 848 | static inline int cgroupstats_build(struct cgroupstats *stats, |
849 | struct dentry *dentry) | 849 | struct dentry *dentry) |