From: Mariusz Kozlowski Date: Wed, 6 Feb 2008 09:40:18 +0000 (-0800) Subject: ext3: remove unused code from ext3_find_entry() X-Git-Tag: v2.6.25-rc1~524 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e1d7ae24a23f1f366d6c5408f1ad11db69a748c6;p=linux-2.6-omap-h63xx.git ext3: remove unused code from ext3_find_entry() Signed-off-by: Mariusz Kozlowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index 4ab6f76e63d..92b83b004dd 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c @@ -860,14 +860,10 @@ static struct buffer_head * ext3_find_entry (struct dentry *dentry, 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)) {