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

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: 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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}