mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
cgroup/cpuset: remove unreachable code
The function sched_partition_show cannot execute seq_puts, delete the invalid code. kernel/cgroup/cpuset.c:2849 sched_partition_show() warn: ignoring unreachable code. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2087 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
8a693f7766
commit
c478bd8836
1 changed files with 0 additions and 2 deletions
|
@ -2846,8 +2846,6 @@ static int sched_partition_show(struct seq_file *seq, void *v)
|
|||
else
|
||||
seq_printf(seq, "%s invalid\n", type);
|
||||
break;
|
||||
seq_puts(seq, "isolated invalid\n");
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue