From: Li Zefan Date: Sat, 23 Feb 2008 23:24:13 +0000 (-0800) Subject: memcgroup: remove a useless VM_BUG_ON() X-Git-Tag: v2.6.25-rc3~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fde4c3eb7ee68828d76a2148ed6d70b6a794add;p=pandora-kernel.git memcgroup: remove a useless VM_BUG_ON() Remove this VM_BUG_ON(), as Balbir stated: We used to have a for loop with !list_empty() as a termination condition and VM_BUG_ON(!pc) is a spill over. With the new loop, VM_BUG_ON(!pc) does not make sense. Signed-off-by: Li Zefan Acked-by: Balbir Singh Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed