]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ext4_ext_split(): remove dead code
authorAdrian Bunk <bunk@stusta.de>
Thu, 7 Dec 2006 04:37:25 +0000 (20:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:36 +0000 (08:39 -0800)
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>
fs/ext4/extents.c

index 2608dce18f3e7f50461e1fe84225a24555b1da26..1442ccbaea7998f2c15c95b3fa3dd6bf82ab87a9 100644 (file)
@@ -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);