Bluetooth: SMP: Remove not needed NULL check from bt_smp_update_keys

This function is always called with valid connection.

Change-Id: I756990a22f7c56939fd8e92c498d722a0467ab84
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2016-01-14 11:17:05 +01:00 committed by Anas Nashif
commit 28711287a5

View file

@ -3272,10 +3272,6 @@ void bt_smp_update_keys(struct bt_conn *conn)
{
struct bt_smp *smp;
if (!conn) {
return;
}
smp = smp_chan_get(conn);
if (!smp) {
return;