diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-10-30 17:02:15 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 13:05:47 -0700 |
commit | edb3cc10e03874067c7e86107462a89b54bfdfc9 (patch) | |
tree | 2d227d6e2c118b05197d63fc5414adb957f52bad /drivers/staging/iio/adc/lpc32xx_adc.c | |
parent | fc33bd2921c27241f0b695bb265fa020c51d352b (diff) | |
download | linux-edb3cc10e03874067c7e86107462a89b54bfdfc9.tar.bz2 |
staging: gdm72xx: 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/iio/adc/lpc32xx_adc.c')
0 files changed, 0 insertions, 0 deletions