]> git.karo-electronics.de Git - linux-beck.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)
commit3a19b6feb26295fe03c9242a72084d2f32dcaac4
tree068d4e7def538e70267e156029de065f5180b103
parent5bf8a7481d21a669dd9dd874c00f7815a878111a
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