diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-07-30 07:33:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 18:41:44 +0200 |
commit | 36553434f475a84b653e25e74490ee8df43b86d5 (patch) | |
tree | 869f827ebb4974674a26de22db6c15f122e63618 /kernel/dma-coherent.c | |
parent | cgroup: fix possible memory leak (diff) | |
download | linux-36553434f475a84b653e25e74490ee8df43b86d5.tar.xz linux-36553434f475a84b653e25e74490ee8df43b86d5.zip |
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 <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/dma-coherent.c')
0 files changed, 0 insertions, 0 deletions