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:
9cb76aa
)
carl9170: Remove casts of pointer to same type
author
Joe Perches
<joe@perches.com>
Mon, 24 Mar 2014 20:15:38 +0000
(13:15 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 27 Mar 2014 18:20:05 +0000
(14:20 -0400)
Casting a pointer to a pointer of the same type is pointless,
so remove these unnecessary casts.
Done via coccinelle script:
$ cat typecast_2.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