diff options
| author | Tapasweni Pathak <[email protected]> | 2014-10-30 17:03:31 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-10-30 13:05:49 -0700 |
| commit | 037a449ac71fc5c70d2b0af28ce6792065daae55 (patch) | |
| tree | 1fb8d815a2eddf1db2b0e74391fed79220983202 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 08a3d85a016467c68b224e1a4d9e844a397d92e2 (diff) | |
staging: rtl8188eu: os_dep: 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions