]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit916fe831a0a1e1368e9bc5bb1d66830b8d3efeae
tree8d36997ffa41f6841fcd6022256f5f93e53f9e5e
parent074d29964ad2ee891b2c9ac4fb7f2c32e261ab21
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