From: Himangi Saraogi Date: Thu, 26 Jun 2014 19:41:59 +0000 (+0530) Subject: ecryptfs: Drop cast X-Git-Tag: omap-for-v3.19/prcm-cleanup~119^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4cf3ba4f34819170fee43532f729e2fc6aa9a76;p=pandora-kernel.git ecryptfs: Drop cast This patch does away with cast on void * and the if as it is unnecessary. 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 Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed