summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-07 07:37:25 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 19:39:36 +0300
commit6fb50ea79cb869667adaa71ed32cc15dd73986de (patch)
tree3b162c7ab64fd6c3074d7d626a50d42ccbc8b68c
parentece8a684c75df215320b4155944979e3f78c5c93 (diff)
downloadlinux-6fb50ea79cb869667adaa71ed32cc15dd73986de.tar.xz
[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>
-rw-r--r--fs/ext4/extents.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 2608dce18f3e..1442ccbaea79 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -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);