diff options
Diffstat (limited to 'kernel/pid.c')
-rw-r--r-- | kernel/pid.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/pid.c b/kernel/pid.c index b322cdf401bf..a9ae9f7fb229 100644 --- a/kernel/pid.c +++ b/kernel/pid.c | |||
@@ -381,12 +381,6 @@ struct task_struct *find_task_by_pid_type_ns(int type, int nr, | |||
381 | 381 | ||
382 | EXPORT_SYMBOL(find_task_by_pid_type_ns); | 382 | EXPORT_SYMBOL(find_task_by_pid_type_ns); |
383 | 383 | ||
384 | struct task_struct *find_task_by_pid(pid_t nr) | ||
385 | { | ||
386 | return find_task_by_pid_type_ns(PIDTYPE_PID, nr, &init_pid_ns); | ||
387 | } | ||
388 | EXPORT_SYMBOL(find_task_by_pid); | ||
389 | |||
390 | struct task_struct *find_task_by_vpid(pid_t vnr) | 384 | struct task_struct *find_task_by_vpid(pid_t vnr) |
391 | { | 385 | { |
392 | return find_task_by_pid_type_ns(PIDTYPE_PID, vnr, | 386 | return find_task_by_pid_type_ns(PIDTYPE_PID, vnr, |