fs/ext4/super.c: remove unused `deprecated_msg'
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Oct 2022 15:05:49 +0000 (08:05 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Oct 2022 20:37:22 +0000 (13:37 -0700)
fs/ext4/super.c:1744:19: warning: 'deprecated_msg' defined but not used [-Wunused-const-variable=]

Reported-by: kernel test robot <lkp@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ext4/super.c

index 989365b..7950904 100644 (file)
@@ -1741,10 +1741,6 @@ static const struct fs_parameter_spec ext4_param_specs[] = {
 
 #define DEFAULT_JOURNAL_IOPRIO (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 3))
 
-static const char deprecated_msg[] =
-       "Mount option \"%s\" will be removed by %s\n"
-       "Contact linux-ext4@vger.kernel.org if you think we should keep it.\n";
-
 #define MOPT_SET       0x0001
 #define MOPT_CLEAR     0x0002
 #define MOPT_NOSUPPORT 0x0004