* [patch 201/354] ext4_ext_split(): remove dead code
@ 2006-12-07 4:37 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2006-12-07 4:37 UTC (permalink / raw)
To: torvalds; +Cc: akpm, bunk, linux-ext4
From: Adrian Bunk <bunk@stusta.de>
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>
---
fs/ext4/extents.c | 3 ---
1 file changed, 3 deletions(-)
diff -puN fs/ext4/extents.c~ext4_ext_split-remove-dead-code fs/ext4/extents.c
--- a/fs/ext4/extents.c~ext4_ext_split-remove-dead-code
+++ a/fs/ext4/extents.c
@@ -800,9 +800,6 @@ static int ext4_ext_split(handle_t *hand
}
/* insert new index */
- if (err)
- goto cleanup;
-
err = ext4_ext_insert_index(handle, inode, path + at,
le32_to_cpu(border), newblock);
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-07 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 4:37 [patch 201/354] ext4_ext_split(): remove dead code akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).