diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-07 05:37:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 17:39:36 +0100 |
commit | 6fb50ea79cb869667adaa71ed32cc15dd73986de (patch) | |
tree | 3b162c7ab64fd6c3074d7d626a50d42ccbc8b68c /fs | |
parent | [PATCH] sleep profiling (diff) | |
download | linux-6fb50ea79cb869667adaa71ed32cc15dd73986de.tar.xz linux-6fb50ea79cb869667adaa71ed32cc15dd73986de.zip |
[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')
-rw-r--r-- | fs/ext4/extents.c | 3 |
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); |