linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
To: Nikolay Borisov <nborisov@suse.com>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Cc: "dsterba@suse.cz" <dsterba@suse.cz>
Subject: Re: [PATCH] btrfs: Remove unused variable
Date: Mon, 25 Jan 2021 12:35:11 +0000	[thread overview]
Message-ID: <SN4PR0401MB35985EDAB5E15338506F762A9BBD9@SN4PR0401MB3598.namprd04.prod.outlook.com> (raw)
In-Reply-To: 20210124160321.744187-1-nborisov@suse.com

On 24/01/2021 17:05, Nikolay Borisov wrote:
> This fixes fs/btrfs/zoned.c:491:6: warning: variable ‘zone_size’ set but not used [-Wunused-but-set-variable]
>   491 |  u64 zone_size;
> 
> Which got introduced in 12659251ca5d ("btrfs: implement log-structured superblock for ZONED mode")
> 
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

Even with the zoned complete zoned patchset (for-v14) applied 
the compiler is correct about this issue, ergo this patch fixes it.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>

  reply	other threads:[~2021-01-26 19:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 16:03 [PATCH] btrfs: Remove unused variable Nikolay Borisov
2021-01-25 12:35 ` Johannes Thumshirn [this message]
2021-01-25 15:52 ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SN4PR0401MB35985EDAB5E15338506F762A9BBD9@SN4PR0401MB3598.namprd04.prod.outlook.com \
    --to=johannes.thumshirn@wdc.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=nborisov@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).