diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-06-13 15:28:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-13 20:54:03 +0300 |
commit | aa9f979c41043d9fcf7957c99948e20bbddefc7f (patch) | |
tree | 121013b5d9c5ae6189070a7bb9f7d209962e4a22 /drivers/spi/spi-img-spfi.c | |
parent | 0e74008b668febb7ae024c7ee04b30dcbd1f1efd (diff) | |
download | linux-aa9f979c41043d9fcf7957c99948e20bbddefc7f.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-img-spfi.c')
0 files changed, 0 insertions, 0 deletions