commit | 8986992de4225871d171e8bdd82abd0eeab978ff | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Mar 24 13:15:38 2014 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Mar 27 14:20:05 2014 -0400 |
tree | 1cfe527d2d96150869bb1bc82eedab11e8453183 | |
parent | 9cb76aa994682c7a5584cf4a03aeedd7ef1204bd [diff] |
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 <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>