[PATCH] isofs: remove d_splice_alias NULL check from isofs_lookup

Remove redundant NULL check in isofs_lookup() as d_splice_alias() can take
NULL inode as input.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Pekka Enberg and committed by Linus Torvalds 2ff6b1c2 ba7fe369

+1 -4
+1 -4
fs/isofs/namei.c
··· 185 } 186 } 187 unlock_kernel(); 188 - if (inode) 189 - return d_splice_alias(inode, dentry); 190 - d_add(dentry, inode); 191 - return NULL; 192 }
··· 185 } 186 } 187 unlock_kernel(); 188 + return d_splice_alias(inode, dentry); 189 }