perf tools: Omit unnecessary cast in perf_pmu__parse_scale
authorJiri Olsa <[email protected]>
Tue, 8 Mar 2016 18:42:30 +0000 (19:42 +0100)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 9 Mar 2016 13:42:22 +0000 (10:42 -0300)
commitea8f75f981918c5946fc4029acdc86707fa901c1
tree4cc22f6f9e20bf8b432b4fed17c4255e18406a94
parentd7b617f51be4fffa3cbb5adf6d4258e616dce294
perf tools: Omit unnecessary cast in perf_pmu__parse_scale

There's no need to use a const char pointer, we can used char pointer
from the beginning and omit the unnecessary cast.

Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/pmu.c