diff options
| author | Alison Schofield <[email protected]> | 2016-02-12 22:52:11 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-14 16:31:44 -0800 |
| commit | 6bcc1e1e703c2d734eec76bd104afc717a290205 (patch) | |
| tree | b922c5ad01c9ea66f3d29dbe7c9a412e68772dff /tools/perf/scripts/python | |
| parent | 59b97b365e17c0d3b13187874e5b5aededc0ae4a (diff) | |
staging: wilc1000: linux_mon: remove cast on void pointer
Remove cast on void pointer. 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