]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_qca: Remove redundant initializations to zero
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 7 Aug 2019 18:58:49 +0000 (11:58 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Sep 2019 15:27:21 +0000 (17:27 +0200)
commit33539d4f9b81f7e1052b7ff2396a4041f94dcbc8
treefd1aeb7bf5a480e58f6a7928cd4162350e1e1f9d
parentee1a311dba7c4d26a21dff118a1eb74e74c04090
Bluetooth: hci_qca: Remove redundant initializations to zero

The qca_data structure is allocated with kzalloc() and hence
zero-initialized. Remove a bunch of unnecessary explicit
initializations of struct members to zero.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c