diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-10 16:44:33 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-03-14 02:39:32 -0400 |
commit | 6fbaad879ae7ba75196b55bab216b9b4d0a541b3 (patch) | |
tree | 7ab9d099fc5dbb8681924669583e54a569b18d92 /fs/udf | |
parent | f4a45c99ae38d53ebb7f26ba3a05c7edab797ce7 (diff) |
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>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/balloc.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c index 02948f04da56..0ee257a32e45 100644 --- a/fs/udf/balloc.c +++ b/fs/udf/balloc.c | |||
@@ -63,15 +63,14 @@ static int __load_block_bitmap(struct super_block *sb, | |||
63 | block_group, nr_groups); | 63 | block_group, nr_groups); |
64 | } | 64 | } |
65 | 65 | ||
66 | if (bitmap->s_block_bitmap[block_group]) { | 66 | if (bitmap->s_block_bitmap[block_group]) |
67 | return block_group; | 67 | return block_group; |
68 | } else { | 68 | |
69 | retval = read_block_bitmap(sb, bitmap, block_group, | 69 | retval = read_block_bitmap(sb, bitmap, block_group, block_group); |
70 | block_group); | 70 | if (retval < 0) |
71 | if (retval < 0) | 71 | return retval; |
72 | return retval; | 72 | |
73 | return block_group; | 73 | return block_group; |
74 | } | ||
75 | } | 74 | } |
76 | 75 | ||
77 | static inline int load_block_bitmap(struct super_block *sb, | 76 | static inline int load_block_bitmap(struct super_block *sb, |