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:
b58f2f7
)
i40e: Remove casts of pointer to same type
author
Joe Perches
<joe@perches.com>
Tue, 25 Mar 2014 04:30:38 +0000
(
04:30
+0000)
committer
Jeff Kirsher
<jeffrey.t.kirsher@intel.com>
Mon, 31 Mar 2014 22:48:02 +0000
(15:48 -0700)
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>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
No differences found