Commit 8d50caa1 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] dup_task_struct can be static

dup_task_struct is defined and used only in kernel/fork.c.
parent 12ae4bff
......@@ -99,7 +99,7 @@ void __init fork_init(unsigned long mempages)
init_task.rlim[RLIMIT_NPROC].rlim_max = max_threads/2;
}
struct task_struct *dup_task_struct(struct task_struct *orig)
static struct task_struct *dup_task_struct(struct task_struct *orig)
{
struct task_struct *tsk;
struct thread_info *ti;
......
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