summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-01-19 00:05:28 +0000
committerDavid Sterba <dsterba@suse.com>2016-01-19 10:33:56 +0100
commitfb75d857a31d600cc0c37b8c7d914014f7fa3f9a (patch)
treeb202bfa822bdf23687613ccb454762b89465a502 /fs/btrfs
parent0dc924c5f2a3c4d999e12feaccee5f970cea1315 (diff)
downloadlinux-stable-fb75d857a31d600cc0c37b8c7d914014f7fa3f9a.tar.gz
linux-stable-fb75d857a31d600cc0c37b8c7d914014f7fa3f9a.tar.bz2
linux-stable-fb75d857a31d600cc0c37b8c7d914014f7fa3f9a.zip
btrfs: remove duplicate const specifier
duplicate const is redundant so remove it Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 9cb78e31fc76..78f76958b855 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -108,7 +108,7 @@ const struct btrfs_raid_attr btrfs_raid_array[BTRFS_NR_RAID_TYPES] = {
},
};
-const u64 const btrfs_raid_group[BTRFS_NR_RAID_TYPES] = {
+const u64 btrfs_raid_group[BTRFS_NR_RAID_TYPES] = {
[BTRFS_RAID_RAID10] = BTRFS_BLOCK_GROUP_RAID10,
[BTRFS_RAID_RAID1] = BTRFS_BLOCK_GROUP_RAID1,
[BTRFS_RAID_DUP] = BTRFS_BLOCK_GROUP_DUP,