Commit 7717e175 by tomponline

cgroups: remove unused variables

Signed-off-by: 's avatartomponline <tomp@tomp.uk>
parent 7c737378
...@@ -386,7 +386,7 @@ static bool cg_legacy_filter_and_set_cpus(char *path, bool am_initialized) ...@@ -386,7 +386,7 @@ static bool cg_legacy_filter_and_set_cpus(char *path, bool am_initialized)
int ret; int ret;
ssize_t i; ssize_t i;
char oldv; char oldv;
char *lastslash, *posscpus_tmp; char *lastslash;
ssize_t maxisol = 0, maxposs = 0; ssize_t maxisol = 0, maxposs = 0;
bool bret = false, flipped_bit = false; bool bret = false, flipped_bit = false;
...@@ -2642,7 +2642,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative, ...@@ -2642,7 +2642,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
{ {
__do_free char *subtree_path = NULL; __do_free char *subtree_path = NULL;
int ret; int ret;
char *mountpoint, *tmp; char *mountpoint;
char **delegatable; char **delegatable;
struct hierarchy *new; struct hierarchy *new;
char *base_cgroup = NULL; char *base_cgroup = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment