[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240220054735.65310-1-zeming@nfschina.com>
Date: Tue, 20 Feb 2024 13:47:35 +0800
From: Li zeming <zeming@...china.com>
To: viro@...iv.linux.org.uk
Cc: linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Li zeming <zeming@...china.com>
Subject: [PATCH] fs_context: Remove unnecessary ‘0’ values from ret
The ret variable is assigned when it does not need to be defined, as it
has already been assigned before use.
Signed-off-by: Li zeming <zeming@...china.com>
---
fs/fs_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs_context.c b/fs/fs_context.c
index 98589aae52085..3ff30227a061a 100644
--- a/fs/fs_context.c
+++ b/fs/fs_context.c
@@ -207,7 +207,7 @@ int vfs_parse_monolithic_sep(struct fs_context *fc, void *data,
char *(*sep)(char **))
{
char *options = data, *key;
- int ret = 0;
+ int ret;
if (!options)
return 0;
--
2.18.2
Powered by blists - more mailing lists