Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp25203pxa; Wed, 26 Aug 2020 03:53:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7uThH0SE5Gi9k383nNKHQ9y6E07vzaOdYb/c9egvKhhEwihyJJFDe1OuFtibD7cskXDCD X-Received: by 2002:a05:6402:2285:: with SMTP id cw5mr14075324edb.242.1598439197957; Wed, 26 Aug 2020 03:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598439197; cv=none; d=google.com; s=arc-20160816; b=VwQ9E7SiYhlNQGfH1+T90onhuURE3VJjdzteGE4qpdgcQCR9l9iBxth8nXGjkfJfPj n22+kvzYNeyaOLcymfrT5Z3h4NufpwZYUI8QM9fbDG2sJFuwoqFkFOFa905/KTvZSpm7 CWGiI55t9jZQOzzs0tTbEXLXuH9I4taBZeG3nSXJClDQ763YX2WNMe11eSSM5rUMY7wS fMgg7mq0fg63UxuaXPwiT+2KS4ZqCN/8pAk6Z9dhgPAm35I3uDAS+Vr89EbOa6Nr0SJe LeZ+PwVIKxfG76KzdwIudogq/oabNWZ9MThIi5jIeD2xxyRFQV4285YOeHJ6vHoVhNVy drcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:reply-to:message-id:subject:cc:to:from :date; bh=JUhRdF/IQBj8LYyze+RZlfvqwgfh9frnr51GrRzjtgc=; b=Aqg49B39UnSQAo/fU0OVlSD8R/6Q375G6p6aNCbuviXtHjSssbHg+dALuXpj+r7sAz 8wzVu5ewgULb9yjmmIxlET7fbe+HCxMiazI3xUJDtggIwZL1GD4GJ53oBES33mCm7fXI U/hA6avDu9u/Rz6Sp1IfinmTur4yZ0yXvbKE3pXwPw43fvI+7bsQ6sxUBTlCVqRJYU+s Eh/kRBbsRsMdOQSAnz3tTKN6hPMOJq9aWCKbhelsaZeCNxGor4mLoZKGTU+5QyODsDVB Jcx1zht9T6+0GjQ1gDOm3I4GxEe2cDfD35DOexv1ovHO9UmhNUquMnMLiSBRMK+iJto3 T4zA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm11si1508682ejc.91.2020.08.26.03.52.55; Wed, 26 Aug 2020 03:53:17 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728724AbgHZKt2 (ORCPT + 99 others); Wed, 26 Aug 2020 06:49:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:42886 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728586AbgHZKtY (ORCPT ); Wed, 26 Aug 2020 06:49:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8E342AC82; Wed, 26 Aug 2020 10:49:54 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 93232DA730; Wed, 26 Aug 2020 12:48:14 +0200 (CEST) Date: Wed, 26 Aug 2020 12:48:14 +0200 From: David Sterba To: YueHaibing Cc: clm@fb.com, josef@toxicpanda.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] btrfs: Remove unused variable 'fs_info' Message-ID: <20200826104814.GB28318@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, YueHaibing , clm@fb.com, josef@toxicpanda.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200826062752.20912-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200826062752.20912-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 26, 2020 at 02:27:52PM +0800, YueHaibing wrote: > fs/btrfs/volumes.c: In function ‘btrfs_rm_dev_replace_free_srcdev’: > fs/btrfs/volumes.c:2217:24: warning: unused variable ‘fs_info’ [-Wunused-variable] > struct btrfs_fs_info *fs_info = srcdev->fs_info; > ^~~~~~~ > > Caused by commit 65237ee3b6b3 ("btrfs: get fs_info from device > in btrfs_rm_dev_replace_free_srcdev") > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Fixed in for-next, thanks.