1 ext4: remove unused code from ext4_find_entry()
3 From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
5 The unused code found in ext3_find_entry() is also present (and still
6 unused) in the ext4_find_entry() code. This patch removes it.
8 Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
9 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
12 fs/ext4/namei.c | 4 ----
13 1 files changed, 0 insertions(+), 4 deletions(-)
16 diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
17 index fb673b1..67b6d8a 100644
20 @@ -861,14 +861,10 @@ static struct buffer_head * ext4_find_entry (struct dentry *dentry,
22 struct inode *dir = dentry->d_parent->d_inode;
29 - blocksize = sb->s_blocksize;
30 namelen = dentry->d_name.len;
31 - name = dentry->d_name.name;
32 if (namelen > EXT4_NAME_LEN)