diff options
| author | Alison Schofield <[email protected]> | 2016-02-12 22:53:13 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-14 16:31:44 -0800 |
| commit | d5c89442d431afa2d5c35a5141b259c4ff5d8c03 (patch) | |
| tree | 0cb296a9bd0b8e898eea35e0826c6997f394018b /tools/perf/scripts/python | |
| parent | 6bcc1e1e703c2d734eec76bd104afc717a290205 (diff) | |
staging: wilc1000: linux_wlan: remove cast on void pointers
Remove casts on void pointers. C programming language guarantees
the conversion from void pointer to any other pointer type.
Coccinelle patch:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Alison Schofield <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions