]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move memset closer to where it's needed
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Mar 2016 15:30:32 +0000 (17:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Mar 2016 18:51:29 +0000 (19:51 +0100)
commit3a758e9a80eb451caa95ea0b09a64c086b3061e2
treed7b18e5e2c815ab5df2cd904a4d56e3dc3cb4ed7
parent1159887d3a0a58bc0bcc325edc85bb7d6323ecb9
Bluetooth: Move memset closer to where it's needed

Minor fix to not do the memset until the variable it clears is
actually used.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c