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

From: Adrian Bunk
Date: Wed Oct 24 2007 - 12:33:23 EST


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 <bunk@xxxxxxxxxx>

---

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/