[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210205031814.414649-1-jhubbard@nvidia.com>
Date: Thu, 4 Feb 2021 19:18:14 -0800
From: John Hubbard <jhubbard@...dia.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: <linux-xfs@...r.kernel.org>,
Linux Next <linux-next@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
John Hubbard <jhubbard@...dia.com>,
"Brian Foster" <bfoster@...hat.com>,
Christoph Hellwig <hch@....de>,
"Darrick J . Wong" <djwong@...nel.org>,
Allison Henderson <allison.henderson@...cle.com>
Subject: [PATCH] xfs: fix unused variable build warning in xfs_log.c
Delete the unused "log" variable in xfs_log_cover().
Fixes: 303591a0a9473 ("xfs: cover the log during log quiesce")
Cc: Brian Foster <bfoster@...hat.com>
Cc: Christoph Hellwig <hch@....de>
Cc: Darrick J. Wong <djwong@...nel.org>
Cc: Allison Henderson <allison.henderson@...cle.com>
Signed-off-by: John Hubbard <jhubbard@...dia.com>
---
Hi,
I just ran into this on today's linux-next, so here you go!
thanks,
John Hubbard
NVIDIA
fs/xfs/xfs_log.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 58699881c100..5a9cca3f7cbf 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1108,7 +1108,6 @@ static int
xfs_log_cover(
struct xfs_mount *mp)
{
- struct xlog *log = mp->m_log;
int error = 0;
bool need_covered;
base-commit: 0e2c50f40b7ffb73a039157f7c38495c6d99e86f
--
2.30.0
Powered by blists - more mailing lists