From: Qu Wenruo Date: Fri, 14 Jun 2024 04:22:28 +0000 (+0930) Subject: btrfs: remove unused Opt enums X-Git-Tag: microblaze-v6.13~452^2~26 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=14114c98a89cad71698c9c29a038fd871cf8078f;p=linux-2.6-microblaze.git btrfs: remove unused Opt enums The following three Opt_* enums haven't been utilized since the port to new mount API: - Opt_ignorebadroots - Opt_ignoredatacsums - Opt_rescue_all All those enums are from the old day where we have dedicated mount options, nowadays they have been moved to "rescue=" mount option groups, and no more global tokens for them. So we can safely remove them now. Reviewed-by: Josef Bacik Signed-off-by: Qu Wenruo Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 5450a01cb69c..12cc1805af39 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -126,9 +126,6 @@ enum { Opt_rescue, Opt_usebackuproot, Opt_nologreplay, - Opt_ignorebadroots, - Opt_ignoredatacsums, - Opt_rescue_all, /* Debugging options */ Opt_enospc_debug,