Commit 6fb50ea7 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[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: default avatarAdrian Bunk <bunk@stusta.de>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ece8a684
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment