btrfs: drop extra enum initialization where using defaults
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Nov 2018 14:25:13 +0000 (15:25 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:43 +0000 (14:51 +0100)
commitbbe339cc323ca9d2a57ac203d2d9d11a09655dcc
tree2b779c4fc5d3d90ead96462a006cf7ab94aa9974
parent5b840301ac4b8a8e8d42d0c7edc31dc3e257145d
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>
fs/btrfs/btrfs_inode.h
fs/btrfs/ctree.h
fs/btrfs/disk-io.h
fs/btrfs/qgroup.h
fs/btrfs/sysfs.h
fs/btrfs/transaction.h