diff options
| author | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-04 12:37:27 +0300 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-04 11:58:10 +0200 |
| commit | a7545f2afcfc49fd5341fe51e943064eefe20ea1 (patch) | |
| tree | c83305abc09993a27f8fd413bf0548aeb8fbc789 /lib/timerqueue.c | |
| parent | 501f882741b139da22bb3ba4bc615a6eadce5038 (diff) | |
Bluetooth: Use hci_pend_le_action_lookup to look up report entries
Instead of looking through the entire list of entries we can more
efficiently use the new hci_pend_le_action_lookup() function to look up
entries specifically in the pend_le_reports list. Since the search is
now limited to the right list we can also remove an unnecessary check
for list_empty() before the lookup.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
