lkml.org 
[lkml]   [2017]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 27/35] sched/headers: Remove the 'init_pid_ns' prototype from <linux/sched.h>
Date
pid.h already defines it.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
include/linux/sched.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index fb6571b3bf1e..d5df0f1860b3 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1297,8 +1297,6 @@ static inline struct thread_info *task_thread_info(struct task_struct *task)
# define task_thread_info(task) ((struct thread_info *)(task)->stack)
#endif

-extern struct pid_namespace init_pid_ns;
-
/*
* find a task by one of its numerical ids
*
--
2.7.4
\
 
 \ /
  Last update: 2017-02-08 20:10    [W:0.114 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site