Bluetooth: mesh: Remove redundant expression
Remove checking of the same argument twice. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
f57ec57ce5
commit
21c37a6c6a
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ static void gen_prov_ack(struct prov_rx *rx, struct net_buf_simple *buf)
|
||||||
prov_clear_tx();
|
prov_clear_tx();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (link.tx.cb && link.tx.cb) {
|
if (link.tx.cb) {
|
||||||
link.tx.cb(0, link.tx.cb_data);
|
link.tx.cb(0, link.tx.cb_data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue