diff options
author | Lucas Tanure <tanure@linux.com> | 2016-01-20 00:52:13 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 19:52:30 -0800 |
commit | eaf0e7966d485b4524c1fc278922e4197ec273cc (patch) | |
tree | 920ff7f7486a3de8ea3df980954edc7fb60df29a /lib | |
parent | 7c2a2017e5a2a07ffb7732ed88e935824b70b6fb (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 'lib')
0 files changed, 0 insertions, 0 deletions