From: Johan Hedberg Date: Tue, 15 Jul 2014 05:07:59 +0000 (+0300) Subject: Bluetooth: Remove unnecessary params variable from process_adv_report() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~17^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a19b6feb26295fe03c9242a72084d2f32dcaac4;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed