On Mon, 2014-03-24 at 10:45 -0700, Joe Perches wrote: > 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]> > --- > drivers/net/ethernet/intel/i40e/i40e_common.c | 4 ++--
Thanks again Joe, I will add this to my queue.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
