From: Joe Perches Date: Mon, 24 Mar 2014 17:45:12 +0000 (-0700) Subject: chelsio: Remove addressof casts to same type X-Git-Tag: v3.15-rc1~113^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12f2a47945946731bd2f4a64e4720daaabc95106;p=pandora-kernel.git chelsio: 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed