From: Johan Hedberg Date: Fri, 4 Jul 2014 09:37:27 +0000 (+0300) Subject: Bluetooth: Use hci_pend_le_action_lookup to look up report entries X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7545f2afcfc49fd5341fe51e943064eefe20ea1;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed