Skip to contentSkip to conversation

fs/ext4/super.c: remove unused `deprecated_msg'

PATCH New Andrew Morton 1 participant 1 message Oct 21, 2022 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/ext4/super.c: remove unused `deprecated_msg'

From: Andrew Morton <[email protected]>
Subject: fs/ext4/super.c: remove unused `deprecated_msg'
Date: Fri Oct 21 08:05:49 AM PDT 2022

fs/ext4/super.c:1744:19: warning: 'deprecated_msg' defined but not used [-Wunused-const-variable=]

---

 fs/ext4/super.c |    4 ----
 1 file changed, 4 deletions(-)
fs/ext4/super.c renamed from fs/ext4/super.c~fs-ext4-superc-remove-unused-deprecated_msg +0 -4
@@ -1741,10 +1741,6 @@ static const struct fs_parameter_spec ex
 
 #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 [email protected] if you think we should keep it.\n";
-
 #define MOPT_SET	0x0001
 #define MOPT_CLEAR	0x0002
 #define MOPT_NOSUPPORT	0x0004

_