Bluetooth: Remove unnecessary NULL check in hci_inquiry_cache_update
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 27 Mar 2014 11:51:24 +0000 (13:51 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Mar 2014 16:00:58 +0000 (09:00 -0700)
commit8002d77ca9edbf81b81ab5154d75f7cce3d0511e
tree68ded614732e68d421ff1c7cf00c5a1159f79afb
parentab0aa433e2f6c69e69b4d5a951c0b84e7b193f0d
Bluetooth: Remove unnecessary NULL check in hci_inquiry_cache_update

The ssp parameter is supposed to be a mandatory one and there are no
callers that would pass NULL to this function. Removing this unnecessary
NULL check also makes (false positive) static analyzer warnings go away.

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