diff options
| author | simran singhal <singhalsimran0@gmail.com> | 2017-04-01 19:41:53 +0530 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2017-04-02 09:48:50 +0100 |
| commit | 4d925083e8f9f0c619fe212cfd0729c3dc1442b2 (patch) | |
| tree | ee49c3cf53aa275170e0fd19de92c9035cfdc304 /tools/perf/scripts/python | |
| parent | iio: common: ms_sensors: Remove unnecessary cast on void pointer (diff) | |
| download | linux-4d925083e8f9f0c619fe212cfd0729c3dc1442b2.tar.gz linux-4d925083e8f9f0c619fe212cfd0729c3dc1442b2.zip | |
iio: dac: ad5504: Remove unnecessary cast on void pointer
The following Coccinelle script was used to detect this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T*)x)->f
|
- (T*)
e
)
Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
