[PATCH v1 6/7] erofs-utils: lib: Remove redundant assignment
Sandeep Dhavale
dhavale at google.com
Thu Sep 14 08:11:03 AEST 2023
The intended assignment is already part of the next for loop
initialization.
Signed-off-by: Sandeep Dhavale <dhavale at google.com>
---
lib/namei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/namei.c b/lib/namei.c
index 45dbcd3..294d7a3 100644
--- a/lib/namei.c
+++ b/lib/namei.c
@@ -262,7 +262,6 @@ static int link_path_walk(const char *name, struct nameidata *nd)
if (ret)
return ret;
- name = p;
/* Skip until no more slashes. */
for (name = p; *name == '/'; ++name)
;
--
2.42.0.283.g2d96d420d3-goog
More information about the Linux-erofs
mailing list