mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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: Shaokun Zhang <zhangshaokun@hisilicon.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
committed by
Darrick J. Wong
parent
90e2c1c20a
commit
9bb38aa080
@@ -648,7 +648,7 @@ xfs_buf_get_map(
|
||||
{
|
||||
struct xfs_buf *bp;
|
||||
struct xfs_buf *new_bp;
|
||||
int error = 0;
|
||||
int error;
|
||||
|
||||
*bpp = NULL;
|
||||
error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp);
|
||||
|
||||
Reference in New Issue
Block a user