Module: xenomai-forge Branch: next Commit: 527c209c2a01788f3572ad9f1794053da70fc888 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=527c209c2a01788f3572ad9f1794053da70fc888
Author: Philippe Gerum <r...@xenomai.org> Date: Sat Jun 15 13:02:25 2013 +0200 wrappers: remove useless wrap_find_task_by_pid() --- include/asm-generic/wrappers.h | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h index 962afcd..0ba04c2 100644 --- a/include/asm-generic/wrappers.h +++ b/include/asm-generic/wrappers.h @@ -37,11 +37,6 @@ #error "CONFIG_IPIPE_LEGACY must be switched off" #endif -static inline struct task_struct *wrap_find_task_by_pid(pid_t nr) -{ - return pid_task(find_pid_ns(nr, &init_pid_ns), PIDTYPE_PID); -} - #include <linux/mm.h> #ifndef pgprot_noncached #define pgprot_noncached(p) (p) @@ -50,7 +45,6 @@ static inline struct task_struct *wrap_find_task_by_pid(pid_t nr) #if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) #include <linux/sched.h> -#include <linux/mm.h> #include <linux/smp.h> #ifndef cpu_online_map _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git