From: Tapasweni Pathak Date: Thu, 30 Oct 2014 11:33:19 +0000 (+0530) Subject: staging: rtl8188eu: hal: Remove useless cast on void pointer X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~568 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08a3d85a016467c68b224e1a4d9e844a397d92e2;p=pandora-kernel.git staging: rtl8188eu: hal: 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