diff options
author | Joe Perches <joe@perches.com> | 2014-03-24 10:45:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-26 15:46:15 -0400 |
commit | 12f2a47945946731bd2f4a64e4720daaabc95106 (patch) | |
tree | d3bec47bd612f90a95cb6eecac931bd0dd00fc9b /scripts | |
parent | f845b335f151a0b4f44827b519150e9e2982bd0d (diff) | |
download | linux-12f2a47945946731bd2f4a64e4720daaabc95106.tar.bz2 |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions