]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: remove unused variables
authortomponline <tomp@tomp.uk>
Sat, 2 Mar 2019 10:18:18 +0000 (10:18 +0000)
committertomponline <tomp@tomp.uk>
Mon, 4 Mar 2019 07:59:33 +0000 (07:59 +0000)
Signed-off-by: tomponline <tomp@tomp.uk>
src/lxc/cgroups/cgfsng.c

index 76d4dfe6d1700095f33a4e56904be90368ad0a68..96e0af62c9d9fe5c9d4969d78a48f3115fd23eec 100644 (file)
@@ -386,7 +386,7 @@ static bool cg_legacy_filter_and_set_cpus(char *path, bool am_initialized)
        int ret;
        ssize_t i;
        char oldv;
-       char *lastslash, *posscpus_tmp;
+       char *lastslash;
        ssize_t maxisol = 0, maxposs = 0;
        bool bret = false, flipped_bit = false;
 
@@ -2642,7 +2642,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
 {
        __do_free char *subtree_path = NULL;
        int ret;
-       char *mountpoint, *tmp;
+       char *mountpoint;
        char **delegatable;
        struct hierarchy *new;
        char *base_cgroup = NULL;