diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-10-30 17:02:25 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 13:05:47 -0700 |
commit | 31f8f066f5bc8dc5ce1efbbdfddec401ed790a2b (patch) | |
tree | 733ec178458479a8ca2c964fcc666ed8b9a8095d /drivers/staging/media | |
parent | edb3cc10e03874067c7e86107462a89b54bfdfc9 (diff) |
staging: iio: adc: 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 <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions