ext4_ext_split(): remove dead code
PATCH 201/354 ext4_ext_split(): remove dead code
From: Adrian Bunk <[email protected]>
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 <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ext4/extents.c | 3 --- 1 file changed, 3 deletions(-)
fs/ext4/extents.c renamed from fs/ext4/extents.c~ext4_ext_split-remove-dead-code +0 -3
@@ -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);
_