udf: remove else after return in __load_block_bitmap()
else after return is not needed. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
f4a45c99ae
commit
6fbaad879a
1 changed files with 7 additions and 8 deletions
|
@ -63,15 +63,14 @@ static int __load_block_bitmap(struct super_block *sb,
|
||||||
block_group, nr_groups);
|
block_group, nr_groups);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bitmap->s_block_bitmap[block_group]) {
|
if (bitmap->s_block_bitmap[block_group])
|
||||||
return block_group;
|
return block_group;
|
||||||
} else {
|
|
||||||
retval = read_block_bitmap(sb, bitmap, block_group,
|
retval = read_block_bitmap(sb, bitmap, block_group, block_group);
|
||||||
block_group);
|
if (retval < 0)
|
||||||
if (retval < 0)
|
return retval;
|
||||||
return retval;
|
|
||||||
return block_group;
|
return block_group;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int load_block_bitmap(struct super_block *sb,
|
static inline int load_block_bitmap(struct super_block *sb,
|
||||||
|
|
Loading…
Add table
Reference in a new issue