]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unnecessary params variable from process_adv_report()
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 15 Jul 2014 05:07:59 +0000 (08:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 15 Jul 2014 06:01:19 +0000 (08:01 +0200)
commita8e06834961d2fba83e0fe767c287197f3e095d6
tree068d4e7def538e70267e156029de065f5180b103
parent2ed61c09ac7e08b2a9a3df2660dcdb9eaa62b25d
Bluetooth: Remove unnecessary params variable from process_adv_report()

The params variable was just used for storing the return value from the
hci_pend_le_action_lookup() function and then checking whether it's NULL
or not. We can simplify the code by checking the return value directly.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c