diff options
author | 2024-10-16 11:09:26 +0100 | |
---|---|---|
committer | 2024-11-11 14:34:18 +0100 | |
commit | b8e63ea4058da6719c2c89cdf383167aa120e904 (patch) | |
tree | c051d4081d9b066093cf0ee11d179a8702092f1c /fs/btrfs/ctree.c | |
parent | btrfs: simplify arguments for btrfs_verify_level_key() (diff) | |
download | wireguard-linux-b8e63ea4058da6719c2c89cdf383167aa120e904.tar.xz wireguard-linux-b8e63ea4058da6719c2c89cdf383167aa120e904.zip |
btrfs: remove redundant initializations for struct btrfs_tree_parent_check
It's pointless to initialize the has_first_key field of the stack local
btrfs_tree_parent_check structure at btrfs_tree_parent_check() and at
btrfs_qgroup_trace_subtree() since all fields not explicitly initialized
are zeroed out. In the case of the first function it's a bit odd because
we are assigning 0 and the field is of type bool, however not incorrect
since a 0 is converted to false.
Just remove the explicit initializations due to their redundancy.
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/ctree.c')
0 files changed, 0 insertions, 0 deletions