X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmemcontrol.c;h=33add96cd5fbf98c2f804fb2511aeec3f5a2594d;hb=1f43c5393033de90bac4410352b1d2a69dcbe7ef;hp=15aa34b11e88992b3788abddb1fba25de6fd8c4a;hpb=33327948782bcef89c78eb47af86b6a2df9fd4a5;p=linux-2.6 diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 15aa34b11e..33add96cd5 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -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;