mesh: Remove redundant expression
Remove checking of the same argument twice
this is port of
@@ -397,7 +397,7 @@ static void gen_prov_ack(struct prov_rx *rx, struct os_mbuf *buf)
prov_clear_tx();
}
- if (link.tx.cb && link.tx.cb) {
+ if (link.tx.cb) {
link.tx.cb(0, link.tx.cb_data);
}
}
