commit | b58f2f72797cf45f0e6867f671ff42128b84834b | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Mar 25 04:30:32 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Mar 31 15:48:02 2014 -0700 |
tree | 279dce62687e5e8ae4480ec4e32b619ca2e73bdb | |
parent | e3e3bfdd1d2ad4ac2020e681f3cb1e172f343810 [diff] |
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>