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:
Jonathan Rico 2024-08-16 07:50:48 +02:00 committed by Henrik Brix Andersen
commit c98bc820a3

View file

@ -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)) {