diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 23:37:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:36 -0500 |
commit | 6fb50ea79cb869667adaa71ed32cc15dd73986de (patch) | |
tree | 3b162c7ab64fd6c3074d7d626a50d42ccbc8b68c /fs | |
parent | ece8a684c75df215320b4155944979e3f78c5c93 (diff) |
[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, | |||
800 | } | 800 | } |
801 | 801 | ||
802 | /* insert new index */ | 802 | /* insert new index */ |
803 | if (err) | ||
804 | goto cleanup; | ||
805 | |||
806 | err = ext4_ext_insert_index(handle, inode, path + at, | 803 | err = ext4_ext_insert_index(handle, inode, path + at, |
807 | le32_to_cpu(border), newblock); | 804 | le32_to_cpu(border), newblock); |
808 | 805 | ||