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 <joe@perches.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
Please register or sign in to comment