提交 9bb38aa0 编写于 作者: S Shaokun Zhang 提交者: Darrick J. Wong

xfs: remove redundant initialization of variable error

'error' will be initialized, so clean up the redundant initialization.

Cc: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: NShaokun Zhang <zhangshaokun@hisilicon.com>
Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
上级 90e2c1c2
...@@ -648,7 +648,7 @@ xfs_buf_get_map( ...@@ -648,7 +648,7 @@ xfs_buf_get_map(
{ {
struct xfs_buf *bp; struct xfs_buf *bp;
struct xfs_buf *new_bp; struct xfs_buf *new_bp;
int error = 0; int error;
*bpp = NULL; *bpp = NULL;
error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp); error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册