From: Joe Perches Date: Tue, 25 Mar 2014 04:30:32 +0000 (+0000) Subject: i40e/i40evf: Remove addressof casts to same type X-Git-Tag: v3.15-rc1~113^2~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58f2f72797cf45f0e6867f671ff42128b84834b;p=pandora-kernel.git i40e/i40evf: Remove addressof casts to same type Using addressof then casting to the original type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast.cocci @@ type T; T foo; @@ - (T *)&foo + &foo Signed-off-by: Joe Perches Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed