summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-08 20:20:36 +0300
committerDavid Sterba <dsterba@suse.com>2023-10-12 17:44:06 +0300
commitb6ea3e6ab569d9ed7472e8df4cbf5f78fe49f277 (patch)
treeb82d915a608cb75340c9b7b5e85c860d9956b0fb /fs/btrfs/dev-replace.c
parent3ee56a58ad8921cb43c49d56347a8e270871844c (diff)
downloadlinux-b6ea3e6ab569d9ed7472e8df4cbf5f78fe49f277.tar.xz
btrfs: remove pointless initialization at btrfs_delayed_refs_rsv_release()
There's no point in initializing to 0 the local variable 'released' as we don't use it before the next assignment to it. So remove the initialization. This may help avoid some warnings with clang tools such as the one reported/fixed by commit 966de47ff0c9 ("btrfs: remove redundant initialization of variables in log_new_ancestors"). Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions