[2.6 patch] unexport kernel/pid.c:task_*

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

 



This patch removes the following unused EXPORT_SYMBOL's:
- task_pid_nr_ns
- task_tgid_nr_ns
- task_pgrp_nr_ns
- task_session_nr_ns

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

---

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

8fd7ba197fac407ae18c69798098be65096efdaf 
diff --git a/kernel/pid.c b/kernel/pid.c
index b09d7c9..a805a26 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -443,25 +443,21 @@ pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
 {
 	return pid_nr_ns(task_pid(tsk), ns);
 }
-EXPORT_SYMBOL(task_pid_nr_ns);
 
 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
 {
 	return pid_nr_ns(task_tgid(tsk), ns);
 }
-EXPORT_SYMBOL(task_tgid_nr_ns);
 
 pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
 {
 	return pid_nr_ns(task_pgrp(tsk), ns);
 }
-EXPORT_SYMBOL(task_pgrp_nr_ns);
 
 pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
 {
 	return pid_nr_ns(task_session(tsk), ns);
 }
-EXPORT_SYMBOL(task_session_nr_ns);
 
 /*
  * Used by proc to find the first pid that is greater then or equal to nr.

-
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