memcg: remove redundant initialization in mem_cgroup_create()
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 29 Apr 2008 08:00:24 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:11 +0000 (08:06 -0700)
commit1faf8e40a8ab12ae1f7f474965e6fb031e43f8d6
tree7448f437cc527d4396269945e070c841e0f1603d
parent33327948782bcef89c78eb47af86b6a2df9fd4a5
memcg: remove redundant initialization in mem_cgroup_create()

*mem has been zeroed, that means mem->info has already been filled with 0.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c