[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200826104814.GB28318@twin.jikos.cz>
Date: Wed, 26 Aug 2020 12:48:14 +0200
From: David Sterba <dsterba@...e.cz>
To: YueHaibing <yuehaibing@...wei.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] btrfs: Remove unused variable 'fs_info'
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 <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Fixed in for-next, thanks.
Powered by blists - more mailing lists