btrfs: remove const from btrfs_feature_set_name
authorDavid Sterba <dsterba@suse.com>
Mon, 17 Aug 2020 08:56:00 +0000 (10:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:55 +0000 (12:06 +0200)
commit9e6df7cedfdf3e2469aa46fb772ca70b422132ec
treef03821a9df2ca738e8fc84b4d8a26a4b928edf10
parente21139c621ada48f2bc382865ea34dd49d45c2a8
btrfs: remove const from btrfs_feature_set_name

The function btrfs_feature_set_name returns a const char pointer, the
second const is not necessary and reported as a warning:

 In file included from fs/btrfs/space-info.c:6:
 fs/btrfs/sysfs.h:16:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
    16 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set);
       | ^~~~~

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h