[2.6 patch] unexport find_task_by_*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes the following unused EXPORT_SYMBOL's:
- find_task_by_pid_type_ns
- find_task_by_vpid
- find_task_by_pid_ns

Signed-off-by: Adrian Bunk <[email protected]>

---

 kernel/pid.c |    4 ----
 1 file changed, 4 deletions(-)

65b4847eb3d64c037d8b418d7560b71a3065d304 
diff --git a/kernel/pid.c b/kernel/pid.c
index d1db36b..b09d7c9 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -378,8 +378,6 @@ struct task_struct *find_task_by_pid_type_ns(int type, int nr,
 	return pid_task(find_pid_ns(nr, ns), type);
 }
 
-EXPORT_SYMBOL(find_task_by_pid_type_ns);
-
 struct task_struct *find_task_by_pid(pid_t nr)
 {
 	return find_task_by_pid_type_ns(PIDTYPE_PID, nr, &init_pid_ns);
@@ -391,13 +389,11 @@ struct task_struct *find_task_by_vpid(pid_t vnr)
 	return find_task_by_pid_type_ns(PIDTYPE_PID, vnr,
 			current->nsproxy->pid_ns);
 }
-EXPORT_SYMBOL(find_task_by_vpid);
 
 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns)
 {
 	return find_task_by_pid_type_ns(PIDTYPE_PID, nr, ns);
 }
-EXPORT_SYMBOL(find_task_by_pid_ns);
 
 struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
 {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux