[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>
This commit is contained in:
parent
ece8a684c7
commit
6fb50ea79c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue