summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-24 10:45:12 -0700
committerDavid S. Miller <davem@davemloft.net>2014-03-26 15:46:15 -0400
commit12f2a47945946731bd2f4a64e4720daaabc95106 (patch)
treed3bec47bd612f90a95cb6eecac931bd0dd00fc9b /scripts
parentf845b335f151a0b4f44827b519150e9e2982bd0d (diff)
downloadlinux-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