From 9cb76aa994682c7a5584cf4a03aeedd7ef1204bd Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Mon, 24 Mar 2014 10:46:20 -0700 Subject: [PATCH] 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-format-patch failed