linux/drivers/net/ethernet/apple
Johannes Berg aa9f979c41 networking: use skb_put_zero()
Use the recently introduced helper to replace the pattern of
skb_put() && memset(), this transformation was done with the
following spatch:

@@
identifier p;
expression len;
expression skb;
@@
-p = skb_put(skb, len);
-memset(p, 0, len);
+p = skb_put_zero(skb, len);

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-13 13:54:03 -04:00
..
bmac.c networking: use skb_put_zero() 2017-06-13 13:54:03 -04:00
bmac.h
Kconfig
mace.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
mace.h
macmace.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
Makefile