diff options
author | Joe Perches <joe@perches.com> | 2014-03-25 08:30:38 +0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-04-01 02:48:02 +0400 |
commit | 3dbb7fd24794e39e503bc7844dae03c17d821326 (patch) | |
tree | 3d090ee642a1dcb542435932e125573a7debd83c /Kbuild | |
parent | b58f2f72797cf45f0e6867f671ff42128b84834b (diff) | |
download | linux-3dbb7fd24794e39e503bc7844dae03c17d821326.tar.xz |
i40e: Remove casts of pointer to same type
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions