Commit c478bd88 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Tejun Heo

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=2087Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 8a693f77
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment