diff options
author | Joe Perches <joe@perches.com> | 2014-03-25 04:30:32 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-03-31 15:48:02 -0700 |
commit | b58f2f72797cf45f0e6867f671ff42128b84834b (patch) | |
tree | 279dce62687e5e8ae4480ec4e32b619ca2e73bdb /drivers/md/Kconfig | |
parent | e3e3bfdd1d2ad4ac2020e681f3cb1e172f343810 (diff) | |
download | linux-b58f2f72797cf45f0e6867f671ff42128b84834b.tar.gz linux-b58f2f72797cf45f0e6867f671ff42128b84834b.tar.bz2 linux-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 <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 'drivers/md/Kconfig')
0 files changed, 0 insertions, 0 deletions