projects
/
platform
/
upstream
/
erofs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c3125
)
erofs-utils: lib: Remove redundant assignment
author
Sandeep Dhavale
<dhavale@google.com>
Wed, 13 Sep 2023 22:11:03 +0000
(15:11 -0700)
committer
Gao Xiang
<hsiangkao@linux.alibaba.com>
Thu, 14 Sep 2023 02:53:38 +0000
(10:53 +0800)
The intended assignment is already part of the next for loop
initialization.
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
Link:
https://lore.kernel.org/r/20230913221104.429825-7-dhavale@google.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
lib/namei.c
patch
|
blob
|
history
diff --git
a/lib/namei.c
b/lib/namei.c
index 45dbcd35b3462e6eaf19a01741a670d9dbecbd0b..294d7a3d2e950b2efec6895b7ad472e322638d9c 100644
(file)
--- 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)
;