Bluetooth: Remove redundant NULL check
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 25 Mar 2014 10:06:18 +0000 (12:06 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Mar 2014 16:31:39 +0000 (09:31 -0700)
commit01735bbd584593b874c2c9d85a5c0e2882a2dc06
tree452ba0518774d03be1e0d3636ca8d0f4a85b29a2
parentb9a6328f2a7f15490de7e45eabb025f8b74a81af
Bluetooth: Remove redundant NULL check

All callers of hci_inquiry_cache_update() pass a non-NULL ssp pointer to
it and even the function itself assumes in another place that the
pointer is non-NULL. Therefore, remove the redundant check.

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