[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3bdc85f0-7f48-5008-58c5-065b62c2934c@suse.com>
Date: Wed, 19 Feb 2020 13:35:20 +0200
From: Nikolay Borisov <nborisov@...e.com>
To: yu kuai <yukuai3@...wei.com>, clm@...com, josef@...icpanda.com,
dsterba@...e.com
Cc: linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
zhengbin13@...wei.com, yi.zhang@...wei.com
Subject: Re: [PATCH 1/3] btrfs: remove set but not used variable 'root_owner'
On 19.02.20 г. 13:21 ч., yu kuai wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> fs/btrfs/tree-log.c: In function ‘walk_down_log_tree’:
> fs/btrfs/tree-log.c:2698:6: warning: variable ‘root_owner’
> set but not used [-Wunused-but-set-variable]
> fs/btrfs/tree-log.c: In function ‘walk_up_log_tree’:
> fs/btrfs/tree-log.c:2793:6: warning: variable ‘root_owner’
> set but not used [-Wunused-but-set-variable]
>
> They are never used, and so can be removed.
>
> Signed-off-by: yu kuai <yukuai3@...wei.com>
Yep, can be squashed into :
e084c5ab48f9 ("btrfs: Call btrfs_pin_reserved_extent only during active
transaction")
in any case:
Reviewed-by: Nikolay Borisov <nborisov@...e.com>
Powered by blists - more mailing lists