Skip to content

Commit

Permalink
cgroups: remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Apr 3, 2020
1 parent a900cba commit 31691d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lxc/cgroups/cgfsng.c
Expand Up @@ -1238,7 +1238,6 @@ static bool check_cgroup_dir_config(struct lxc_conf *conf)
const char *monitor_dir = conf->cgroup_meta.monitor_dir,
*container_dir = conf->cgroup_meta.container_dir,
*namespace_dir = conf->cgroup_meta.namespace_dir;
size_t prefix_len;

/* none of the new options are set, all is fine */
if (!monitor_dir && !container_dir && !namespace_dir)
Expand Down

0 comments on commit 31691d1

Please sign in to comment.