btrfs-progs: Remove unnecessary fallthrough attribute in test_num_disk_vs_raid()

gcc 9.1 reports:

utils.c: In function ‘test_num_disk_vs_raid’:
utils.c:1931:3: warning: attribute ‘fallthrough’ not preceding a case label or default label
 1931 |   __attribute__ ((fallthrough));
      |   ^~~~~~~~~~~~~

As there's no other label to fall to (default: is the first one), remove the
annotation.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Qu Wenruo 2019-06-17 15:59:35 +08:00 committed by David Sterba
parent 95ae4184ea
commit dd1a940297
1 changed files with 0 additions and 1 deletions

View File

@ -1928,7 +1928,6 @@ int test_num_disk_vs_raid(u64 metadata_profile, u64 data_profile,
__attribute__ ((fallthrough));
case 1:
allowed |= BTRFS_BLOCK_GROUP_DUP;
__attribute__ ((fallthrough));
}
if (dev_cnt > 1 && profile & BTRFS_BLOCK_GROUP_DUP) {