Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3958e877 authored by Kang Minchul's avatar Kang Minchul Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: Use kzalloc instead of kmalloc/memset


Replace kmalloc+memset by kzalloc
for better readability and simplicity.

This addresses the cocci warning below:

WARNING: kzalloc should be used for d, instead of kmalloc/memset

Signed-off-by: default avatarKang Minchul <tegongkang@gmail.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent ca2a9944
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment