diff options
| author | 2016-01-20 00:52:13 -0200 | |
|---|---|---|
| committer | 2016-02-07 19:52:30 -0800 | |
| commit | eaf0e7966d485b4524c1fc278922e4197ec273cc (patch) | |
| tree | 920ff7f7486a3de8ea3df980954edc7fb60df29a /tools/perf/scripts/python/netdev-times.py | |
| parent | staging: rtl8712: consolidate kmalloc + memset 0 to kzalloc (diff) | |
Staging: rtl8712: Remove unnecessary cast on void pointer
The conversion from void pointer to any other pointer type is guaranteed
by the C programming language.
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
)
Signed-off-by: Lucas Tanure <tanure@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
