projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d944ef
)
usermodehelper: ____call_usermodehelper() doesn't need do_exit()
author
Oleg Nesterov
<
[email protected]
>
Fri, 23 Mar 2012 22:02:49 +0000
(15:02 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 23 Mar 2012 23:58:41 +0000
(16:58 -0700)
Minor cleanup. ____call_usermodehelper() can simply return, no need to
call do_exit() explicitely.
Signed-off-by: Oleg Nesterov <
[email protected]
>
Cc: Tetsuo Handa <
[email protected]
>
Cc: Rusty Russell <
[email protected]
>
Cc: Tejun Heo <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/kmod.c
patch
|
blob
|
history
diff --git
a/kernel/kmod.c
b/kernel/kmod.c
index 8341de91613fceb6c5611a1578a9a81d17912e97..685b246b13b0b332e3b663ced3c9c4d442962743 100644
(file)
--- a/
kernel/kmod.c
+++ b/
kernel/kmod.c
@@
-188,7
+188,7
@@
static int ____call_usermodehelper(void *data)
/* Exec failed? */
fail:
sub_info->retval = retval;
-
do_exit(0)
;
+
return 0
;
}
void call_usermodehelper_freeinfo(struct subprocess_info *info)