xfs: removed unused error variable from xchk_refcountbt_rec
authorAliasgar Surti <aliasgar.surti500@gmail.com>
Mon, 30 Sep 2019 18:31:48 +0000 (11:31 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 6 Oct 2019 22:39:05 +0000 (15:39 -0700)
commitd5cc14d9f92833bd71219bf7fff180f097c3816d
treef7d4b091c2f6bef89d5aefb514ab971a46586cf3
parent6374ca03975ab0a2b1a5ced222e0ef2ea6e22f9e
xfs: removed unused error variable from xchk_refcountbt_rec

Removed unused error variable. Instead of using error variable,
returned the value directly as it wasn't updated.

Signed-off-by: Aliasgar Surti <aliasgar.surti500@gmail.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/scrub/refcount.c