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:
@@ -20,7 +20,7 @@
|
||||
* new data the application may have written before commit.
|
||||
*/
|
||||
enum {
|
||||
BTRFS_INODE_ORDERED_DATA_CLOSE = 0,
|
||||
BTRFS_INODE_ORDERED_DATA_CLOSE,
|
||||
BTRFS_INODE_DUMMY,
|
||||
BTRFS_INODE_IN_DEFRAG,
|
||||
BTRFS_INODE_HAS_ASYNC_EXTENT,
|
||||
|
Reference in New Issue
Block a user