mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +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
@ -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…
Reference in New Issue
Block a user