xfs: remove redundant assignment to variable error
authorColin Ian King <colin.king@canonical.com>
Wed, 6 Nov 2019 16:07:46 +0000 (08:07 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 6 Nov 2019 16:07:46 +0000 (08:07 -0800)
commit0279c71fe0d14c510001e9a7dd1ce2e0c77dd06c
tree4bf9b5f04ed0c71b05ebe0cebf799e4e9f62385b
parent8ef34723eff08806e3e9c1c756c62a3cb482a3b8
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: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_super.c