perf tools: Get rid of superfluos call to reset_dimensions
authorJiri Olsa <jolsa@kernel.org>
Tue, 6 Oct 2015 12:25:10 +0000 (14:25 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Oct 2015 21:04:58 +0000 (18:04 -0300)
commit0974d2c9719a4c74fea0f6886b9922b100b903a6
tree314a261538f5a95007187a1992d91fa398f75a51
parent712df65ccb63da08a484bf57c40b250dfd4103a7
perf tools: Get rid of superfluos call to reset_dimensions

There's no need to call reset_dimensions within __setup_output_field
function. It's already called in its caller setup_sorting right before
perf_hpp__init, which will be changed in following patch to respect
taken dimension.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1444134312-29136-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c