diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-08-17 21:57:30 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-08-17 22:39:15 +0300 |
commit | 07806a1df1ccbdd2fa5ba56d01bb77d11c828331 (patch) | |
tree | 0dde0d1046d14ac45e35bee02144f432d161f71f /tools/perf/tests | |
parent | d6d4fc6fefda26a88eb99d30e87a8834c59c144a (diff) | |
download | linux-07806a1df1ccbdd2fa5ba56d01bb77d11c828331.tar.xz |
perf events parse: Remove some needless local variables
Those are just casting a void pointer to a struct to then pass them to
functions, i.e. remove the local variables and pass the void pointer
directly, the casting will be done and the code will be shorter.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-bzfodzr3mb46gy7u7v0mqad6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
0 files changed, 0 insertions, 0 deletions