mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue