[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200612070437.kB74bPIj029669@shell0.pdx.osdl.net>
Date: Wed, 06 Dec 2006 20:37:25 -0800
From: akpm@...l.org
To: torvalds@...l.org
Cc: akpm@...l.org, bunk@...sta.de, linux-ext4@...r.kernel.org
Subject: [patch 201/354] ext4_ext_split(): remove dead code
From: Adrian Bunk <bunk@...sta.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@...sta.de>
Cc: <linux-ext4@...r.kernel.org>
Signed-off-by: Andrew Morton <akpm@...l.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);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists