aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2015-09-08 10:58:51 +0300
committerArnaldo Carvalho de Melo <[email protected]>2015-09-15 10:16:48 -0300
commitd5bc056e73841d4bc941474a342ef9b6a207ac84 (patch)
treeb78d4e62dc244d65aa23a33b9240aa71be058580 /tools/perf/scripts/python/sched-migration.py
parent725e06b2e2754fbff61521fa76fee51cee5bcb5f (diff)
perf evlist: Remove redundant validation from propagate_maps()
The validation checks that the values that were just assigned, got assigned i.e. the error can't ever happen. Subsequent patches will call this code in places where errors are not being returned. Changing those code paths to return this non-existent error is counter-productive, so just remove it. That in turn results in perf_evlist__set_maps not needing to return an error, but callers aren't checking it either, so remove that too. Signed-off-by: Adrian Hunter <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions