diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-25 22:42:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-12 09:09:09 +0300 |
commit | 51a4731133410a63bcc833068dba4a0e2ec1fcea (patch) | |
tree | e5da2118f01e30d146e5aece4d9485c48b7d85c8 /drivers/staging/rts5208/xd.c | |
parent | 86790d33da72dc5a1c50cef0aa3a5cb44dcc0dc6 (diff) | |
download | linux-51a4731133410a63bcc833068dba4a0e2ec1fcea.tar.xz |
staging: rts5208: rtsx_transport.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 'drivers/staging/rts5208/xd.c')
0 files changed, 0 insertions, 0 deletions