]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc77ff139a0d12de5a456c3140d9dc16f46cfd994
tree452ba0518774d03be1e0d3636ca8d0f4a85b29a2
parent513f6a305c580d11574dc8ddbb974cfde99ef11f
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