commit | f822c411b26ce0353c8b97877e53a12e4f895ca1 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Sat Oct 05 11:47:41 2013 -0700 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Sun Oct 06 10:21:09 2013 +0200 |
tree | 405b94b086e6035ba573bbde12217dc4eee08d1d | |
parent | 23b9003b9ae8dac111460597ba683844e9195e4e [diff] |
Bluetooth: Remove useless external function to count controllers The list of controllers can be counted ahead of time and inline inside the AMP discover handling. There is no need to export such a function at all. In addition just count the AMP controller and only allocated space for a single mandatory BR/EDR controller. No need to allocate more space than needed. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>