Commit d3f0d7bb authored by Li kunyu's avatar Li kunyu Committed by Kees Cook

exec: Delete unnecessary statements in remove_arg_zero()

'ret=0; ' In actual operation, the ret was not modified, so this
sentence can be removed.
Signed-off-by: default avatarLi kunyu <kunyu@nfschina.com>
Link: https://lore.kernel.org/r/20240220052426.62018-1-kunyu@nfschina.comSigned-off-by: default avatarKees Cook <keescook@chromium.org>
parent 15fd1dc3
......@@ -1747,7 +1747,6 @@ int remove_arg_zero(struct linux_binprm *bprm)
bprm->p++;
bprm->argc--;
ret = 0;
out:
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment