diff options
| author | Joe Perches <[email protected]> | 2014-03-25 04:30:38 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-03-31 22:48:02 +0000 |
| commit | 3dbb7fd24794e39e503bc7844dae03c17d821326 (patch) | |
| tree | 3d090ee642a1dcb542435932e125573a7debd83c /drivers/net/xen-netback/interface.c | |
| parent | i40e/i40evf: Remove addressof casts to same type (diff) | |
| download | kernel-3dbb7fd24794e39e503bc7844dae03c17d821326.tar.gz kernel-3dbb7fd24794e39e503bc7844dae03c17d821326.zip | |
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 <[email protected]>
Tested-by: Kavindya Deegala <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
