diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-25 14:51:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 9842729cfcdc4836ecc786ee5b943950b872868d (patch) | |
tree | d479cc8bf975c93c6039ea5022df5b592eb5bfb2 /tools/perf/scripts/python/sched-migration.py | |
parent | 437b29d1159af16b54b6571efb92c6e048d03c15 (diff) |
staging: mt29f_spinand: Drop void pointer cast
Void pointers need not 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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions