Message ID | 1550471291-4327-1-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 6a613d24effcb875271b8a1c510172e2d6eaaee8 |
Headers | show |
Series | cpuset: remove unused task_has_mempolicy() | expand |
On Mon, Feb 18, 2019 at 03:28:11PM +0900, Masahiro Yamada wrote: > This is a remnant of commit 5f155f27cb7f ("mm, cpuset: always use > seqlock when changing task's nodemask"). > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Applied to cgroup/for-5.0. Thanks. -- tejun
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 479743d..72afd55 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -203,19 +203,6 @@ static inline struct cpuset *parent_cs(struct cpuset *cs) return css_cs(cs->css.parent); } -#ifdef CONFIG_NUMA -static inline bool task_has_mempolicy(struct task_struct *task) -{ - return task->mempolicy; -} -#else -static inline bool task_has_mempolicy(struct task_struct *task) -{ - return false; -} -#endif - - /* bits in struct cpuset flags field */ typedef enum { CS_ONLINE,
This is a remnant of commit 5f155f27cb7f ("mm, cpuset: always use seqlock when changing task's nodemask"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- kernel/cgroup/cpuset.c | 13 ------------- 1 file changed, 13 deletions(-) -- 2.7.4