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)
commiteec7a01dc8366f7e43fc0417f4aee70eaeaca9a9
treed7b18e5e2c815ab5df2cd904a4d56e3dc3cb4ed7
parent9a01242dc7fc4d5fe3f722afbf35b33aa414cd2f
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
This page took 0.050231 seconds and 5 git commands to generate.