diff options
| author | Tapasweni Pathak <[email protected]> | 2014-10-30 17:01:38 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-10-30 13:05:46 -0700 |
| commit | 12c492cf462704fcfc8c86046d539c16d57dfbe3 (patch) | |
| tree | 767f75b7ed0495d6c8de3c7fe750eb164c7603f8 /tools/perf/scripts/python | |
| parent | 3fd511d98660cba235dfadf1f296a3246fbaea58 (diff) | |
staging: cptm1217: 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')
0 files changed, 0 insertions, 0 deletions