carl9170: Remove casts of pointer to same type
authorJoe Perches <[email protected]>
Mon, 24 Mar 2014 20:15:38 +0000 (13:15 -0700)
committerJohn W. Linville <[email protected]>
Thu, 27 Mar 2014 18:20:05 +0000 (14:20 -0400)
commit8986992de4225871d171e8bdd82abd0eeab978ff
tree1cfe527d2d96150869bb1bc82eedab11e8453183
parent9cb76aa994682c7a5584cf4a03aeedd7ef1204bd
carl9170: Remove casts of pointer to same type

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 <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/ath/carl9170/rx.c