diff options
| author | Tapasweni Pathak <[email protected]> | 2014-10-30 17:02:25 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-10-30 13:05:47 -0700 |
| commit | 31f8f066f5bc8dc5ce1efbbdfddec401ed790a2b (patch) | |
| tree | 733ec178458479a8ca2c964fcc666ed8b9a8095d /tools/perf/scripts/python/syscall-counts.py | |
| parent | edb3cc10e03874067c7e86107462a89b54bfdfc9 (diff) | |
staging: iio: adc: Remove useless cast on void pointer
void pointers do not need to be cast to other pointer types.
The semantic patch used to find this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Build tested it.
Signed-off-by: Tapasweni Pathak <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions