From: Li Zefan Date: Sat, 23 Feb 2008 23:24:12 +0000 (-0800) Subject: cgroup: remove dead code in cgroup_get_rootdir() X-Git-Tag: v3.12-rc1~22677 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc231d2a048010d5e0b49ac7fddbfa822fc41109;p=kernel%2Fkernel-generic.git cgroup: remove dead code in cgroup_get_rootdir() Signed-off-by: Li Zefan Acked-by: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 2aa4082..d8abe99 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -919,7 +919,6 @@ static int cgroup_get_rootdir(struct super_block *sb) if (!inode) return -ENOMEM; - inode->i_op = &simple_dir_inode_operations; inode->i_fop = &simple_dir_operations; inode->i_op = &cgroup_dir_inode_operations; /* directories start off with i_nlink == 2 (for "." entry) */