diff options
| author | Joe Perches <joe@perches.com> | 2014-03-24 21:46:20 +0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2014-03-27 22:20:05 +0400 |
| commit | 9cb76aa994682c7a5584cf4a03aeedd7ef1204bd (patch) | |
| tree | 7733dfba8ae7e0f8ddd0ce024f119a9b8d6f9502 /include/linux/extcon | |
| parent | fd6564fcdc0bfcd432e6e939f9538acc3905d08a (diff) | |
| download | linux-9cb76aa994682c7a5584cf4a03aeedd7ef1204bd.tar.xz | |
rtlwifi: 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: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/extcon')
0 files changed, 0 insertions, 0 deletions
