提交 6fb50ea7 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[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: NAdrian Bunk <bunk@stusta.de>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 ece8a684
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册