kernel_optimize_test/drivers/nfc/pn533
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
..
i2c.c NFC: pn533: use constant off-stack buffer for sending acks 2017-04-17 00:33:31 +02:00
Kconfig
Makefile
pn533.c networking: use skb_put_zero() 2017-06-13 13:54:03 -04:00
pn533.h NFC: pn533: change order operations in dev registation 2017-04-02 01:06:23 +02:00
usb.c NFC: pn533: use constant off-stack buffer for sending acks 2017-04-17 00:33:31 +02:00