Bluetooth: Replaced kzalloc and memcpy with kmemdup
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Sun, 17 Mar 2013 05:16:50 +0000 (07:16 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:01:50 +0000 (14:01 -0300)
commit5ae327f0efc12d35ea8c98007310c35c143c1e21
tree8d36997ffa41f6841fcd6022256f5f93e53f9e5e
parent12033caf2380dbd28a497519eece9e92ccdca1c7
Bluetooth: Replaced kzalloc and memcpy with kmemdup

Replaced calls to kzalloc followed by memcpy with a single call to kmemdup.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/a2mp.c