From: Li Zefan Date: Wed, 30 Jul 2008 05:33:19 +0000 (-0700) Subject: cgroup: remove duplicate code in allocate_cg_link() X-Git-Tag: v2.6.27-rc2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36553434f475a84b653e25e74490ee8df43b86d5;p=pandora-kernel.git cgroup: remove duplicate code in allocate_cg_link() - just call free_cg_links() in allocate_cg_links() - the list will get initialized in allocate_cg_links(), so don't init it twice Signed-off-by: Li Zefan Cc: Paul Menage Cc: Cedric Le Goater Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed