commit | 45d18c562adefe9d807c0ba833affdeff68bad98 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Mar 24 13:15:39 2014 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Mar 27 14:20:05 2014 -0400 |
tree | c07cbb073aa99f61465c1116c9f627d6b3071a5a | |
parent | 8986992de4225871d171e8bdd82abd0eeab978ff [diff] |
mwifiex: 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 <joe@perches.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>