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)
commit23f0cb41a20e9850513fa4943f6a19525000cce2
treef84416e2290abb71d3ccf105a084edd8ec9165c5
parent346e7099c299eae085efd9b4aeda813d69bc364b
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