Skip to content

Commit

Permalink
[PATCH] ext4_ext_split(): remove dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Dec 7, 2006
1 parent ece8a68 commit 6fb50ea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,9 +800,6 @@ static int ext4_ext_split(handle_t *handle, struct inode *inode,
}

/* insert new index */
if (err)
goto cleanup;

err = ext4_ext_insert_index(handle, inode, path + at,
le32_to_cpu(border), newblock);

Expand Down

0 comments on commit 6fb50ea

Please sign in to comment.