Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1632812pxb; Thu, 4 Feb 2021 19:20:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfxvk0btFFc/FdayI5rVidrCARq146QjnyRJFohuqBKT9jqOQucp269DrxXBZpc2WibhMA X-Received: by 2002:a17:906:35d9:: with SMTP id p25mr2092761ejb.398.1612495239469; Thu, 04 Feb 2021 19:20:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612495239; cv=none; d=google.com; s=arc-20160816; b=QNIDJUcBqOAasOvtaMcsOsGCDumrB0M/OhnwQksFpD7qa0WHize5gfrgmERdu+eKsD 9k35wQpepcEbiDlw3Jv4vjMuOYcbpeGVyrX5hwvUn5MqRCyNIC4kLZ0q42/l7/MBJXVw 9kD2A1fQjGGsy+P1BBxr7jMv7Z7Pudf0a2mT11Zp+ZPewvBrijkrJjE4/rbUt76Tx6YA IyU/yQedkCFy0vWpsZ0s7DddHv4A6wyBiCPZ/K/qGmtjJPwRY97jBgRSF0NTuWEzGKTt PDHvXpyIB9507xxKG9E4wyaOhxYxU3fNBV0FSmik1Ecz64wptnFqsPABUp3UcOuc+Ryt ZhJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=ASnYnjm4ba2tgEUkk1b0klQ5FfM48WwNnO1q6DJgM1c=; b=DwQ5MOLpRI6Bzc8i8tthcJEeiu776kSWS4m3T65OtA4UZq5BrSkzuaKwfptbn6Hda0 DRTBDUaOJYPE9a3TYWSumCJsoTSfodMEzH/93F5PoF5s1n26IaXrtxLH14g6JOszLRSx uxMfWgaPOQu/rl0UbsHWPfwAL56ABhJslbkudnVE0mFmdFFdaUbEWoHd+ooUP6NOXj+4 EatwfVvf4CuYVoQjeH6az5g5EQD/KgVRmDrtQZwfzOK004zIhnCriaVvyacl+Xpmnhoz orXe9jSEch8w6UxkoHdIbfF2ixA5B70A8ur+ggzuqDwMnxXEJiFMleyj3ZGrreKko7UH 1v7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="SL4/B2oM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lz12si4341748ejb.518.2021.02.04.19.20.14; Thu, 04 Feb 2021 19:20:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="SL4/B2oM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229910AbhBEDT0 (ORCPT + 99 others); Thu, 4 Feb 2021 22:19:26 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:18130 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbhBEDTY (ORCPT ); Thu, 4 Feb 2021 22:19:24 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 04 Feb 2021 19:18:43 -0800 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 5 Feb 2021 03:18:43 +0000 Received: from sandstorm.attlocal.net (172.20.145.6) by mail.nvidia.com (172.20.187.12) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Fri, 5 Feb 2021 03:18:43 +0000 From: John Hubbard To: Stephen Rothwell CC: , Linux Next , LKML , John Hubbard , "Brian Foster" , Christoph Hellwig , "Darrick J . Wong" , Allison Henderson Subject: [PATCH] xfs: fix unused variable build warning in xfs_log.c Date: Thu, 4 Feb 2021 19:18:14 -0800 Message-ID: <20210205031814.414649-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1612495123; bh=ASnYnjm4ba2tgEUkk1b0klQ5FfM48WwNnO1q6DJgM1c=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: X-NVConfidentiality:Content-Transfer-Encoding:Content-Type; b=SL4/B2oMY4KpQU9uD3g6V1R6HO00UTizJybPXf7jx0BGfgUyiofPP8/aW+P0LZ4Lx R/FqZ8FwdgYv7F8tu4lz139P63b9cqZqYPJJ7ht0YZf6ydJ8AmYxDZkQMeqiuOFETo 8BmwfeOJPxnRPWfLvzfDz3l86fEABAExGzenMMqnTo6oI0rSrqPjbAyd2OAUyJhE3F +dh4Z8mtcbJeBOxdsIpbzH+o1xSXvryzCyZ8V/uUOWVaqxHXFy7ra0s0RxRO+LKkwN cYqMmDJG8yuKrq6fmQDfleUgvC2MfSwerZiIH6fw+bpSvgAZ9Dtr2Ry2ZSyDpoNeLz irz+1iu3ooFHg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Delete the unused "log" variable in xfs_log_cover(). Fixes: 303591a0a9473 ("xfs: cover the log during log quiesce") Cc: Brian Foster Cc: Christoph Hellwig Cc: Darrick J. Wong Cc: Allison Henderson Signed-off-by: John Hubbard --- 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 =3D mp->m_log; int error =3D 0; bool need_covered; =20 base-commit: 0e2c50f40b7ffb73a039157f7c38495c6d99e86f --=20 2.30.0