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:
parent
ff6b44dfcf
commit
28711287a5
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue