mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] udf: remove bogus inode == NULL check in inode_bmap
inode can never be NULL when calling this function. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6b9c7ed848
commit
b8b0af2435
1 changed files with 0 additions and 5 deletions
|
|
@ -1957,11 +1957,6 @@ int8_t inode_bmap(struct inode *inode, int block, kernel_lb_addr *bloc, uint32_t
|
|||
printk(KERN_ERR "udf: inode_bmap: block < 0\n");
|
||||
return -1;
|
||||
}
|
||||
if (!inode)
|
||||
{
|
||||
printk(KERN_ERR "udf: inode_bmap: NULL inode\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
*extoffset = 0;
|
||||
*elen = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue