commit | bd28425a307417d3bd5bdf18e819cc7f90ac1a4d | [log] [tgz] |
---|---|---|
author | Arushi Singhal <arushisinghal19971997@gmail.com> | Wed Mar 07 18:47:17 2018 +0530 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Wed Mar 07 19:52:58 2018 +0000 |
tree | 7f47e846e8ad44ae7f99a2a90106e8e95cab5c29 | |
parent | 200905fdf08ab8168826b6ce43406d0638de22bf [diff] |
staging: iio: Remove unnecessary cast on void pointer The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>