commit | 3a19b6feb26295fe03c9242a72084d2f32dcaac4 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jul 15 08:07:59 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Jul 15 08:01:19 2014 +0200 |
tree | 068d4e7def538e70267e156029de065f5180b103 | |
parent | 5bf8a7481d21a669dd9dd874c00f7815a878111a [diff] |
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>