diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-02-24 02:24:12 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-24 04:13:25 +0300 |
commit | bc231d2a048010d5e0b49ac7fddbfa822fc41109 (patch) | |
tree | 5f38e9f917070a73e3de83d9e602c752b2e4c696 /kernel/cgroup.c | |
parent | 68db38f1537a44097e264f28bda751d6b919cd53 (diff) | |
download | linux-bc231d2a048010d5e0b49ac7fddbfa822fc41109.tar.xz |
cgroup: remove dead code in cgroup_get_rootdir()
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 2aa408201aa5..d8abe996e009 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) */ |