Bluetooth: Host: remove outdated comment
This comment refers to an old piece of code that never got in main. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
parent
b9d8e9a634
commit
c98bc820a3
1 changed files with 0 additions and 5 deletions
|
@ -934,12 +934,7 @@ struct bt_conn *get_conn_ready(void)
|
||||||
__maybe_unused sys_snode_t *s = sys_slist_get(&bt_dev.le.conn_ready);
|
__maybe_unused sys_snode_t *s = sys_slist_get(&bt_dev.le.conn_ready);
|
||||||
|
|
||||||
__ASSERT_NO_MSG(s == node);
|
__ASSERT_NO_MSG(s == node);
|
||||||
|
|
||||||
(void)atomic_set(&conn->_conn_ready_lock, 0);
|
(void)atomic_set(&conn->_conn_ready_lock, 0);
|
||||||
/* Note: we can't assert `old` is non-NULL here, as the
|
|
||||||
* connection might have been marked ready by an l2cap channel
|
|
||||||
* that cancelled its request to send.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Append connection to list if it still has data */
|
/* Append connection to list if it still has data */
|
||||||
if (conn->has_data(conn)) {
|
if (conn->has_data(conn)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue