Bluetooth: Use kzalloc instead of kmalloc/memset
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 10 Sep 2016 12:21:22 +0000 (12:21 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 12 Sep 2016 07:12:43 +0000 (09:12 +0200)
commit31cc9a57d8c8ecea037bc4d1a80ba3006fb0fca8
tree8089f8f81522aeb645447e5fde39637c94a10d4a
parent84b92c3e74dcd75934b15c2ab17f66bba1d7b068
Bluetooth: Use kzalloc instead of kmalloc/memset

Use kzalloc rather than kmalloc followed by memset with 0.

Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c
This page took 0.02484 seconds and 5 git commands to generate.