Skip to content

Commit 6fb50ea

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
[PATCH] ext4_ext_split(): remove dead code
The Coverity checker noted that this was dead code, since in all places above in this function, "err" is immediately checked. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent ece8a68 commit 6fb50ea

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎fs/ext4/extents.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,6 @@ static int ext4_ext_split(handle_t *handle, struct inode *inode,
800800
}
801801

802802
/* insert new index */
803-
if (err)
804-
goto cleanup;
805-
806803
err = ext4_ext_insert_index(handle, inode, path + at,
807804
le32_to_cpu(border), newblock);
808805

0 commit comments

Comments
 (0)