kernel/pid.c: remove two unused exports
RFC PATCH 1/1 kernel/pid.c: remove two unused exports
This patch removes two unused exports.
Signed-off-by Adrian Bunk <[email protected]>
kernel/pid.c renamed from kernel/pid.c.old +0 -2
@@ -246,7 +246,6 @@ }return NULL ; } -EXPORT_SYMBOL_GPL (find_pid); int fastcall attach_pid(struct task_struct *task, enum pid_type type, int nr) {
@@ -359,7 +358,6 @@return pid; } -EXPORT_SYMBOL_GPL (find_get_pid);int copy_pid_ns (int flags,struct task_struct *tsk) {
Quoted 1 line · Adrian Bunk
This patch removes two unused exports.
Ok. Could we hold off on this a little bit?
In general I think this is sane, but looking through my pending patches I have at least one patch that uses find_get_pid from a modular context.
The general issue is that drivers and thus most modules should not be aware of pid_t values. However there do seem to be a few rare exceptions.
Eric