diff mbox series

ext4: remove deprecated_msg

Message ID 20221009032520.108294-1-jiapeng.chong@linux.alibaba.com
State Superseded
Headers show
Series ext4: remove deprecated_msg | expand

Commit Message

Jiapeng Chong Oct. 9, 2022, 3:25 a.m. UTC
fs/ext4/super.c:1744:19: warning: ‘deprecated_msg’ defined but not used.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2346
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 fs/ext4/super.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Ojaswin Mujoo Oct. 10, 2022, 11:01 a.m. UTC | #1
On Sun, Oct 09, 2022 at 11:25:20AM +0800, Jiapeng Chong wrote:
> fs/ext4/super.c:1744:19: warning: ‘deprecated_msg’ defined but not used.
> 
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2346
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>  fs/ext4/super.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/fs/ext4/super.c b/fs/ext4/super.c
> index 989365b878a6..7950904fbf04 100644
> --- a/fs/ext4/super.c
> +++ b/fs/ext4/super.c
> @@ -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
> -- 
> 2.20.1.7.g153144c
> 

Hi,

I believe this is a duplicate of:
https://lore.kernel.org/all/20221004112114.101799-1-colin.i.king@gmail.com/

Regards,
ojaswin
diff mbox series

Patch

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 989365b878a6..7950904fbf04 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -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