commit | 7c542772cc5ff061ec3d06658f5d36304bcd5395 | [log] [tgz] |
---|---|---|
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | Thu May 19 19:22:49 2016 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri May 20 19:50:07 2016 -0400 |
tree | 891d76e486f386e451f60f02fe3a970d787c814a | |
parent | e27f4a942a0ee4b84567a3c6cfa84f273e55cbb7 [diff] |
net:liquidio: use kmemdup Use kmemdup when some other buffer is immediately copied into allocated region. It replaces call to allocation followed by memcpy, by a single call to kmemdup. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>