提交 0279c71f 编写于 作者: C Colin Ian King 提交者: Darrick J. Wong

xfs: remove redundant assignment to variable error

Variable error is being initialized with a value that is never read
and is being re-assigned a couple of statements later on. The
assignment is redundant and hence can be removed.
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Reviewed-by: NDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com>
上级 8ef34723
......@@ -1362,7 +1362,7 @@ xfs_fc_fill_super(
{
struct xfs_mount *mp = sb->s_fs_info;
struct inode *root;
int flags = 0, error = -ENOMEM;
int flags = 0, error;
mp->m_super = sb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册