Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6213daab authored by Li Zefan's avatar Li Zefan Committed by Tejun Heo
Browse files

cgroup: remove some useless forward declarations



Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 9253b279
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -27,7 +27,6 @@


struct cgroup_root;
struct cgroup_root;
struct cgroup_subsys;
struct cgroup_subsys;
struct inode;
struct cgroup;
struct cgroup;


extern int cgroup_init_early(void);
extern int cgroup_init_early(void);
+0 −2
Original line number Original line Diff line number Diff line
@@ -185,7 +185,6 @@ static int need_forkexit_callback __read_mostly;
static struct cftype cgroup_dfl_base_files[];
static struct cftype cgroup_dfl_base_files[];
static struct cftype cgroup_legacy_base_files[];
static struct cftype cgroup_legacy_base_files[];


static void cgroup_put(struct cgroup *cgrp);
static int rebind_subsystems(struct cgroup_root *dst_root,
static int rebind_subsystems(struct cgroup_root *dst_root,
			     unsigned int ss_mask);
			     unsigned int ss_mask);
static int cgroup_destroy_locked(struct cgroup *cgrp);
static int cgroup_destroy_locked(struct cgroup *cgrp);
@@ -195,7 +194,6 @@ static void css_release(struct percpu_ref *ref);
static void kill_css(struct cgroup_subsys_state *css);
static void kill_css(struct cgroup_subsys_state *css);
static int cgroup_addrm_files(struct cgroup *cgrp, struct cftype cfts[],
static int cgroup_addrm_files(struct cgroup *cgrp, struct cftype cfts[],
			      bool is_add);
			      bool is_add);
static void cgroup_pidlist_destroy_all(struct cgroup *cgrp);


/* IDR wrappers which synchronize using cgroup_idr_lock */
/* IDR wrappers which synchronize using cgroup_idr_lock */
static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end,
static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end,