mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
btrfs: drop extra enum initialization where using defaults
The first auto-assigned value to enum is 0, we can use that and not initialize all members where the auto-increment does the same. This is used for values that are not part of on-disk format. Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
5b840301ac
commit
bbe339cc32
6 changed files with 29 additions and 29 deletions
|
@ -9,7 +9,7 @@
|
|||
extern u64 btrfs_debugfs_test;
|
||||
|
||||
enum btrfs_feature_set {
|
||||
FEAT_COMPAT = 0,
|
||||
FEAT_COMPAT,
|
||||
FEAT_COMPAT_RO,
|
||||
FEAT_INCOMPAT,
|
||||
FEAT_MAX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue