perf tools: Change (symbol|annotation)__calc_percent return type to void
authorJiri Olsa <[email protected]>
Wed, 15 Nov 2017 11:05:59 +0000 (12:05 +0100)
committerArnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/annotate.c
tools/perf/util/annotate.h