Bluetooth: Remove redundant hci_dev comparisons in mgmt lookups
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Nov 2011 11:58:57 +0000 (13:58 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 9 Nov 2011 14:48:47 +0000 (12:48 -0200)
commit2aeabcbedd51aef94b61d05b57246d1db4984453
tree5e345ebc1eada08264caa8c552e6655a94e18c02
parentfc2f4b13d8c91713efb972be42566f7f3625f5ed
Bluetooth: Remove redundant hci_dev comparisons in mgmt lookups

Now that pending commands are hci_dev specific there's no need to check
whether a command matches hci_dev when iterating through them.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c