Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1d7ae24 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Linus Torvalds
Browse files

ext3: remove unused code from ext3_find_entry()

parent 859cb936
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)) {