xfs: remove the unused log_flushed variable in xfs_extent_busy_flush
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Mar 2018 06:15:27 +0000 (23:15 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 14 Mar 2018 18:12:52 +0000 (11:12 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_extent_busy.c

index 77760db..1b439db 100644 (file)
@@ -611,10 +611,10 @@ xfs_extent_busy_flush(
        unsigned                busy_gen)
 {
        DEFINE_WAIT             (wait);
-       int                     log_flushed = 0, error;
+       int                     error;
 
        trace_xfs_log_force(mp, 0, _THIS_IP_);
-       error = _xfs_log_force(mp, XFS_LOG_SYNC, &log_flushed);
+       error = _xfs_log_force(mp, XFS_LOG_SYNC, NULL);
        if (error)
                return;