summaryrefslogtreecommitdiff
path: root/include/linux/kmod.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2012-06-01 03:26:14 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-01 04:49:28 +0400
commitae3cef7300e9fddc35ad251dd5f27c5b88c8594a (patch)
treed1f057eaeac5234e9056b3e9fa186c1bd7873bc5 /include/linux/kmod.h
parentf0aac6162e945590057dcfb841bdce8fd18ed4f6 (diff)
downloadlinux-ae3cef7300e9fddc35ad251dd5f27c5b88c8594a.tar.xz
kmod: unexport call_usermodehelper_freeinfo()
call_usermodehelper_freeinfo() is not used outside of kmod.c. So unexport it, and make it static to kmod.c Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kmod.h')
-rw-r--r--include/linux/kmod.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h
index dd99c329e161..f07f9a4e10ff 100644
--- a/include/linux/kmod.h
+++ b/include/linux/kmod.h
@@ -79,10 +79,6 @@ void call_usermodehelper_setfns(struct subprocess_info *info,
/* Actually execute the sub-process */
int call_usermodehelper_exec(struct subprocess_info *info, int wait);
-/* Free the subprocess_info. This is only needed if you're not going
- to call call_usermodehelper_exec */
-void call_usermodehelper_freeinfo(struct subprocess_info *info);
-
static inline int
call_usermodehelper_fns(char *path, char **argv, char **envp, int wait,
int (*init)(struct subprocess_info *info, struct cred *new),