Tag: 45d18c562adefe9d807c0ba833affdeff68bad98

mwifiex: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Acked-by: Bing Zhao Signed-off-by: John W. Linville — drivers/net/wireless/mwifiex/pcie.c | 6 +++— drivers/net/wireless/mwifiex/scan.c …

Continue reading