diff options
| author | Tapasweni Pathak <[email protected]> | 2014-10-30 17:02:04 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-10-30 13:05:46 -0700 |
| commit | fc33bd2921c27241f0b695bb265fa020c51d352b (patch) | |
| tree | 8a271dcdfbf5ad5c93c791cf7c8fd939a80786b9 /tools/perf/scripts/python | |
| parent | d591f5d0e548cb79a942be5fd86fbc714b530a39 (diff) | |
staging: dgnc: 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