summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2016-05-19 19:26:50 +0530
committerDavid S. Miller <davem@davemloft.net>2016-05-20 19:50:07 -0400
commit238a9584e9e2c7b3ea23924e9183fee05d584789 (patch)
treea77c7a32e66c9c9961cb7ef8eab2995ab5a7cda3 /net/ipv4/udp.c
parent5877debe27917dfd7aa8f960c228dbbc1de8282f (diff)
downloadop-kernel-dev-238a9584e9e2c7b3ea23924e9183fee05d584789.zip
op-kernel-dev-238a9584e9e2c7b3ea23924e9183fee05d584789.tar.gz
net: usb: ch9200: 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>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud