From: Himangi Saraogi Date: Thu, 26 Jun 2014 17:28:52 +0000 (+0530) Subject: HID: roccat: Drop cast X-Git-Tag: cleanup-for-v3.18~99^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a9597b70c76234babf7650437578abaeb9259e1;p=pandora-kernel.git HID: roccat: Drop cast This patch removes the cast on data of type void* as it is not needed. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed