diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-25 14:01:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 17002df772f487ba814b3936dbbeb00e39cfb03a (patch) | |
tree | cc339edfb69bac30fcb33e703f2745d1341680ab /tools/perf/scripts/python/syscall-counts.py | |
parent | 454b0ec8bf992b35895eb86a4b62ec3ba7be190c (diff) |
staging: rtl8723au: core: Drop unneeded pointer cast
Void pointers don't need to be cast to other pointer types.
Semantic patch used:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x) [...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions