From 7717e175f5c6718a4e61bcc0171259b7b5b270c9 Mon Sep 17 00:00:00 2001 From: tomponline Date: Sat, 2 Mar 2019 10:18:18 +0000 Subject: [PATCH] cgroups: remove unused variables Signed-off-by: tomponline --- src/lxc/cgroups/cgfsng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 76d4dfe6d..96e0af62c 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -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;