From: Tapasweni Pathak Date: Thu, 30 Oct 2014 11:32:25 +0000 (+0530) Subject: staging: iio: adc: Remove useless cast on void pointer X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~573 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f8f066f5bc8dc5ce1efbbdfddec401ed790a2b;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed