exec: Delete unnecessary statements in remove_arg_zero()
authorLi kunyu <kunyu@nfschina.com>
Tue, 20 Feb 2024 05:24:26 +0000 (13:24 +0800)
committerKees Cook <keescook@chromium.org>
Sat, 24 Feb 2024 01:07:31 +0000 (17:07 -0800)
commitd3f0d7bbaefd3465e95da2500640732a5cc8bedf
treefa1047ba1509bcca627f486b85790f2c0437d128
parent15fd1dc3dadb4268207fa6797e753541aca09a2a
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: Li kunyu <kunyu@nfschina.com>
Link: https://lore.kernel.org/r/20240220052426.62018-1-kunyu@nfschina.com
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/exec.c