perf tools: Change (symbol|annotation)__calc_percent return type to void
authorJiri Olsa <jolsa@kernel.org>
Wed, 15 Nov 2017 11:05:59 +0000 (12:05 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 17 Nov 2017 15:16:25 +0000 (12:16 -0300)
commit9e4e0a9d2ef37c7bc60c32e2a3189bd1f04067a5
tree7ccc19bd67c1edd7fd8a299a4d102669c025accc
parenta7eec4c677fe60c8760fa9054b578c743ff6a3ec
perf tools: Change (symbol|annotation)__calc_percent return type to void

There's no need for symbol__calc_percent and annotation__calc_percent
functions to return any value, since it's always zero. Changing both
function to return void.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-z0gs28hh24m4gia1t1ctraye@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/annotate.h