diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-17 18:57:30 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-17 19:39:15 +0000 |
| commit | 07806a1df1ccbdd2fa5ba56d01bb77d11c828331 (patch) | |
| tree | 0dde0d1046d14ac45e35bee02144f432d161f71f /tools/perf/util/annotate.c | |
| parent | perf trace: Fix off by one string allocation problem (diff) | |
| download | kernel-07806a1df1ccbdd2fa5ba56d01bb77d11c828331.tar.gz kernel-07806a1df1ccbdd2fa5ba56d01bb77d11c828331.zip | |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[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]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
