cpuset: remove unused task_has_mempolicy()
This is a remnant of commit 5f155f27cb
("mm, cpuset: always use
seqlock when changing task's nodemask").
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
b4ff1b44bc
commit
6a613d24ef
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue