Skip to content
Commit 725d5026 authored by Kees Cook's avatar Kees Cook
Browse files

exec: Simplify remove_arg_zero() error path



We don't need the "out" label any more, so remove "ret" and return
directly on error.

Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
---
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: linux-mm@kvack.org
Cc: linux-fsdevel@vger.kernel.org
parent 17107429
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