]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove check for number of AMP controller
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Oct 2013 18:47:47 +0000 (11:47 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 08:25:30 +0000 (10:25 +0200)
commit8f56977ebb6ec98362d2b5d661c5403115015701
treef84416e2290abb71d3ccf105a084edd8ec9165c5
parent8ddf42e8163cfd2d579dcdf3a6b3af0cf16ea956
Bluetooth: Remove check for number of AMP controller

The number of controllers for the AMP discover response has already
been calculated. And since the hci_dev_list lock is held, it can not
change. So there is no need for any extra checks.

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