From: Christoph Hellwig Date: Wed, 14 Mar 2018 06:15:27 +0000 (-0700) Subject: xfs: remove the unused log_flushed variable in xfs_extent_busy_flush X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2b56c2857fde3c7f74174dd2fe3d7b8833d82744;p=linux.git xfs: remove the unused log_flushed variable in xfs_extent_busy_flush Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/xfs_extent_busy.c b/fs/xfs/xfs_extent_busy.c index 77760dbf0242e..1b439db95634b 100644 --- a/fs/xfs/xfs_extent_busy.c +++ b/fs/xfs/xfs_extent_busy.c @@ -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;