commit | 12f2a47945946731bd2f4a64e4720daaabc95106 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Mar 24 10:45:12 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 26 15:46:15 2014 -0400 |
tree | d3bec47bd612f90a95cb6eecac931bd0dd00fc9b | |
parent | f845b335f151a0b4f44827b519150e9e2982bd0d [diff] |
chelsio: 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 <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>