diff options
author | Jiri Olsa <jolsa@redhat.com> | 2016-03-08 21:42:30 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-09 16:42:22 +0300 |
commit | ea8f75f981918c5946fc4029acdc86707fa901c1 (patch) | |
tree | 4cc22f6f9e20bf8b432b4fed17c4255e18406a94 /virt/kvm | |
parent | d7b617f51be4fffa3cbb5adf6d4258e616dce294 (diff) | |
download | linux-ea8f75f981918c5946fc4029acdc86707fa901c1.tar.xz |
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 <mingo@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160308184230.GB7897@krava.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions