Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);