From: Joe Perches Date: Mon, 24 Mar 2014 17:46:20 +0000 (-0700) Subject: rtlwifi: Remove addressof casts to same type X-Git-Tag: v3.15-rc1~113^2~18^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb76aa994682c7a5584cf4a03aeedd7ef1204bd;p=pandora-kernel.git rtlwifi: 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: John W. Linville --- Reading git-diff-tree failed