[PATCH V2 02/14] perf tools: Simplify perf_evlist__set_maps logic

2015-09-07 Thread Adrian Hunter
Don't need to check for NULL when "putting" evlist->maps and evlist->threads because the "put" functions already do that. Signed-off-by: Adrian Hunter --- tools/perf/util/evlist.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/perf/util/evlist.c

[PATCH V2 02/14] perf tools: Simplify perf_evlist__set_maps logic

2015-09-07 Thread Adrian Hunter
Don't need to check for NULL when "putting" evlist->maps and evlist->threads because the "put" functions already do that. Signed-off-by: Adrian Hunter --- tools/perf/util/evlist.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git