Commit 0279c71f authored by Colin Ian King's avatar Colin Ian King Committed by 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: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 8ef34723
...@@ -1362,7 +1362,7 @@ xfs_fc_fill_super( ...@@ -1362,7 +1362,7 @@ xfs_fc_fill_super(
{ {
struct xfs_mount *mp = sb->s_fs_info; struct xfs_mount *mp = sb->s_fs_info;
struct inode *root; struct inode *root;
int flags = 0, error = -ENOMEM; int flags = 0, error;
mp->m_super = sb; mp->m_super = sb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment