Skip to content

Commit 9b91373

Browse files
Li Zefantorvalds
authored andcommitted
cgroups: tiny cleanups
- remove 'private' field from struct subsys - remove cgroup_init_smp() Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 51308ee commit 9b91373

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎include/linux/cgroup.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ struct cgroup;
2525

2626
extern int cgroup_init_early(void);
2727
extern int cgroup_init(void);
28-
extern void cgroup_init_smp(void);
2928
extern void cgroup_lock(void);
3029
extern bool cgroup_lock_live_group(struct cgroup *cgrp);
3130
extern void cgroup_unlock(void);
@@ -348,8 +347,6 @@ struct cgroup_subsys {
348347
struct cgroupfs_root *root;
349348

350349
struct list_head sibling;
351-
352-
void *private;
353350
};
354351

355352
#define SUBSYS(_x) extern struct cgroup_subsys _x ## _subsys;
@@ -410,7 +407,6 @@ void cgroup_mm_owner_callbacks(struct task_struct *old,
410407

411408
static inline int cgroup_init_early(void) { return 0; }
412409
static inline int cgroup_init(void) { return 0; }
413-
static inline void cgroup_init_smp(void) {}
414410
static inline void cgroup_fork(struct task_struct *p) {}
415411
static inline void cgroup_fork_callbacks(struct task_struct *p) {}
416412
static inline void cgroup_post_fork(struct task_struct *p) {}

0 commit comments

Comments
 (0)