commit | 31f8f066f5bc8dc5ce1efbbdfddec401ed790a2b | [log] [tgz] |
---|---|---|
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | Thu Oct 30 17:02:25 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 30 13:05:47 2014 -0700 |
tree | 733ec178458479a8ca2c964fcc666ed8b9a8095d | |
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>