[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190717150426.GI20977@twin.jikos.cz>
Date: Wed, 17 Jul 2019 17:04:26 +0200
From: David Sterba <dsterba@...e.cz>
To: YueHaibing <yuehaibing@...wei.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
nborisov@...e.com, linux-kernel@...r.kernel.org,
linux-btrfs@...r.kernel.org
Subject: Re: [PATCH -next] btrfs: remove set but not used variable 'offset'
On Tue, Jul 02, 2019 at 10:15:21PM +0800, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> fs/btrfs/volumes.c: In function __btrfs_map_block:
> fs/btrfs/volumes.c:6023:6: warning:
> variable offset set but not used [-Wunused-but-set-variable]
>
> It is not used any more since commit 343abd1c0ca9 ("btrfs: Use
> btrfs_get_io_geometry appropriately")
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Added to misc-next, thanks.
Powered by blists - more mailing lists