git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6564f
)
rtlwifi: Remove addressof casts to same type
author
Joe Perches
<joe@perches.com>
Mon, 24 Mar 2014 17:46:20 +0000
(10:46 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 27 Mar 2014 18:20:05 +0000
(14:20 -0400)
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>
No differences found