From: Mariusz Kozlowski Signed-off-by: Mariusz Kozlowski Signed-off-by: Andrew Morton --- fs/ext3/namei.c | 4 ---- 1 file changed, 4 deletions(-) diff -puN fs/ext3/namei.c~ext3-remove-unused-code-from-ext3_find_entry fs/ext3/namei.c --- a/fs/ext3/namei.c~ext3-remove-unused-code-from-ext3_find_entry +++ a/fs/ext3/namei.c @@ -860,14 +860,10 @@ static struct buffer_head * ext3_find_en int nblocks, i, err; struct inode *dir = dentry->d_parent->d_inode; int namelen; - const u8 *name; - unsigned blocksize; *res_dir = NULL; sb = dir->i_sb; - blocksize = sb->s_blocksize; namelen = dentry->d_name.len; - name = dentry->d_name.name; if (namelen > EXT3_NAME_LEN) return NULL; if (is_dx(dir)) { _