rt-tests: cyclicdeadline: Fix cgroup setup

Deadline tasks cannot be pinned to specific CPUs by using affinities. Cgroups
have to be used instead. Cylicdeadline has code to do so. However, that code is
never executed, because the all_cpus variable is reassigned after argument
parsing. Remove it.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
This commit is contained in:
Kurt Kanzenbach 2019-06-18 12:38:41 +02:00 committed by John Kacur
parent 57d6c38a41
commit 5a17ea9879
1 changed files with 0 additions and 1 deletions

View File

@ -1165,7 +1165,6 @@ int main (int argc, char **argv)
exit(-1);
}
all_cpus = 1;
if (!all_cpus) {
int *pids;