diff options
| author | Joe Perches <[email protected]> | 2014-03-25 04:30:32 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-03-31 22:48:02 +0000 |
| commit | b58f2f72797cf45f0e6867f671ff42128b84834b (patch) | |
| tree | 279dce62687e5e8ae4480ec4e32b619ca2e73bdb /drivers/net/xen-netback/interface.c | |
| parent | i40e/i40evf: fix error checking path (diff) | |
| download | kernel-b58f2f72797cf45f0e6867f671ff42128b84834b.tar.gz kernel-b58f2f72797cf45f0e6867f671ff42128b84834b.zip | |
i40e/i40evf: Remove addressof casts to same type
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 <[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
