diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 20:37:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:36 -0800 |
commit | 6fb50ea79cb869667adaa71ed32cc15dd73986de (patch) | |
tree | 3b162c7ab64fd6c3074d7d626a50d42ccbc8b68c /fs | |
parent | ece8a684c75df215320b4155944979e3f78c5c93 (diff) | |
download | op-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')
-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 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); |