diff options
author | Joe Perches <joe@perches.com> | 2014-03-24 21:45:12 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-26 23:46:15 +0400 |
commit | 12f2a47945946731bd2f4a64e4720daaabc95106 (patch) | |
tree | d3bec47bd612f90a95cb6eecac931bd0dd00fc9b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f845b335f151a0b4f44827b519150e9e2982bd0d (diff) | |
download | linux-12f2a47945946731bd2f4a64e4720daaabc95106.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions