summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-06 20:37:25 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:36 -0800
commit6fb50ea79cb869667adaa71ed32cc15dd73986de (patch)
tree3b162c7ab64fd6c3074d7d626a50d42ccbc8b68c /fs/ext4
parentece8a684c75df215320b4155944979e3f78c5c93 (diff)
downloadop-kernel-dev-6fb50ea79cb869667adaa71ed32cc15dd73986de.zip
op-kernel-dev-6fb50ea79cb869667adaa71ed32cc15dd73986de.tar.gz
[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>
Diffstat (limited to 'fs/ext4')
-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 2608dce..1442ccb 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);
OpenPOWER on IntegriCloud