]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/memcontrol.c
memcg: remove redundant initialization in mem_cgroup_create()
[linux-2.6-omap-h63xx.git] / mm / memcontrol.c
index 15aa34b11e88992b3788abddb1fba25de6fd8c4a..33add96cd5fbf98c2f804fb2511aeec3f5a2594d 100644 (file)
@@ -1024,8 +1024,6 @@ mem_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cont)
 
        res_counter_init(&mem->res);
 
-       memset(&mem->info, 0, sizeof(mem->info));
-
        for_each_node_state(node, N_POSSIBLE)
                if (alloc_mem_cgroup_per_zone_info(mem, node))
                        goto free_out;