aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-05-18 12:02:39 -0600
committerGreg Kroah-Hartman <[email protected]>2020-05-19 16:31:18 +0200
commit9712c092cf06be9934e92ee2919e901afb981b6a (patch)
tree5b8b6fa3700def7265758c2947b1440e9c2687d9 /tools/perf/scripts/python
parent298754c56ce1e554eec568059d3a5adf8abc4ab5 (diff)
coresight: Avoid casting void pointers
We don't need to cast void pointers, such as the amba_id data. Assign to a local variable to make the code prettier and also return NULL instead of 0 to make sparse happy. Cc: Suzuki K Poulose <[email protected]> Cc: Mike Leach <[email protected]> Reviewed-by: Joe Perches <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Mike Leach <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions