Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06d6b3cb authored by Li Zefan's avatar Li Zefan Committed by Tejun Heo
Browse files

cpuset: remove redundant check in cpuset_cpus_allowed_fallback()



task_cs() will never return NULL.

Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent d5c56ced
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2253,7 +2253,6 @@ void cpuset_cpus_allowed_fallback(struct task_struct *tsk)

	rcu_read_lock();
	cs = task_cs(tsk);
	if (cs)
	do_set_cpus_allowed(tsk, cs->cpus_allowed);
	rcu_read_unlock();