Commit 5b9bd473 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds

usermodehelper: ____call_usermodehelper() doesn't need do_exit()

Minor cleanup.  ____call_usermodehelper() can simply return, no need to
call do_exit() explicitely.
Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9d944ef3
...@@ -188,7 +188,7 @@ static int ____call_usermodehelper(void *data) ...@@ -188,7 +188,7 @@ static int ____call_usermodehelper(void *data)
/* Exec failed? */ /* Exec failed? */
fail: fail:
sub_info->retval = retval; sub_info->retval = retval;
do_exit(0); return 0;
} }
void call_usermodehelper_freeinfo(struct subprocess_info *info) void call_usermodehelper_freeinfo(struct subprocess_info *info)
......
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