linux-stable/drivers/net/ethernet/chelsio
Joe Perches 12f2a47945 chelsio: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-26 15:46:15 -04:00
..
cxgb drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cxgb3 cxgb3: Call dev_kfree/consume_skb_any instead of [dev_]kfree_skb. 2014-03-24 21:18:57 -07:00
cxgb4 chelsio: Remove addressof casts to same type 2014-03-26 15:46:15 -04:00
cxgb4vf cxfb4vf: Call dev_kfree/consume_skb_any instead of [dev_]kfree_skb. 2014-03-24 21:18:58 -07:00
Kconfig cxgb3: Restore dependency on INET 2012-11-28 17:40:59 -05:00
Makefile