aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-08-19 12:46:55 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-08-20 13:12:59 +0200
commit06fe45634942dc96c316bbb789049a4b0b692542 (patch)
tree5d8be8fdb21a4513105d0aaba11220759aee4f41 /include/linux/sched
parenttracing: switch to kernel_clone() (diff)
downloadlinux-dev-06fe45634942dc96c316bbb789049a4b0b692542.tar.xz
linux-dev-06fe45634942dc96c316bbb789049a4b0b692542.zip
sched: remove _do_fork()
Now that all callers of _do_fork() have been switched to kernel_clone() remove the _do_fork() helper. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Link: https://lore.kernel.org/r/20200819104655.436656-12-christian.brauner@ubuntu.com
Diffstat (limited to 'include/linux/sched')
-rw-r--r--include/linux/sched/task.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h
index d4428039c3c1..85fb2f34c59b 100644
--- a/include/linux/sched/task.h
+++ b/include/linux/sched/task.h
@@ -84,10 +84,6 @@ extern void exit_files(struct task_struct *);
extern void exit_itimers(struct signal_struct *);
extern pid_t kernel_clone(struct kernel_clone_args *kargs);
-static inline long _do_fork(struct kernel_clone_args *kargs)
-{
- return kernel_clone(kargs);
-}
struct task_struct *fork_idle(int);
struct mm_struct *copy_init_mm(void);
extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);