[PATCH] udf_find_entry() cleanup

udf_find_entry can never be called with a NULL argument, so we shouldn't
check for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Christoph Hellwig and committed by Linus Torvalds 1c71e22e 532a39a3

-4
-4
fs/udf/namei.c
··· 164 164 uint32_t extoffset, elen, offset; 165 165 struct buffer_head *bh = NULL; 166 166 167 - if (!dir) 168 - return NULL; 169 - 170 167 size = (udf_ext0_offset(dir) + dir->i_size) >> 2; 171 - 172 168 f_pos = (udf_ext0_offset(dir) >> 2); 173 169 174 170 fibh->soffset = fibh->eoffset = (f_pos & ((dir->i_sb->s_blocksize - 1) >> 2)) << 2;