I don't see the reason to have cgroup_rules_loaded variable.
It is set but not used any more. Thus I'm removing it. Reply an e-mail if I'm wrong.
Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Acked-by: Jan Safranek <jsafrane@redhat.com>
/* Check if cgroup_init has been called or not. */
static int cgroup_initialized;
-/* Check if the rules cache has been loaded or not. */
-static bool cgroup_rules_loaded;
-
/* List of configuration rules */
static struct cgroup_rule_list rl;
if (ret) {
cgroup_dbg("Could not initialize rule cache, error was: %d\n",
ret);
- cgroup_rules_loaded = false;
- } else {
- cgroup_rules_loaded = true;
}
return ret;