diff options
author | 2016-02-25 15:08:17 -0500 | |
---|---|---|
committer | 2016-03-11 22:09:09 -0800 | |
commit | 16ccad0475796c0acc084a51a49c9a86051586db (patch) | |
tree | fc41f2ac79d4a2988484ae33df0b2fffd26170a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: rdma: hfi1: Remove unnecessary parantheses (diff) | |
download | wireguard-linux-16ccad0475796c0acc084a51a49c9a86051586db.tar.xz wireguard-linux-16ccad0475796c0acc084a51a49c9a86051586db.zip |
staging: rdma: hfi1: user_sdma.c: Drop void pointer cast
Void pointers need not be cast to other pointer types.
Semantic patch used:
@r@
expression x;
void *e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x) [...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions