Skip to content

Commit c98bc82

Browse files
jori-nordichenrikbrixandersen
authored andcommitted
Bluetooth: Host: remove outdated comment
This comment refers to an old piece of code that never got in main. Signed-off-by: Jonathan Rico <[email protected]>
1 parent b9d8e9a commit c98bc82

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

subsys/bluetooth/host/conn.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -934,12 +934,7 @@ struct bt_conn *get_conn_ready(void)
934934
__maybe_unused sys_snode_t *s = sys_slist_get(&bt_dev.le.conn_ready);
935935

936936
__ASSERT_NO_MSG(s == node);
937-
938937
(void)atomic_set(&conn->_conn_ready_lock, 0);
939-
/* Note: we can't assert `old` is non-NULL here, as the
940-
* connection might have been marked ready by an l2cap channel
941-
* that cancelled its request to send.
942-
*/
943938

944939
/* Append connection to list if it still has data */
945940
if (conn->has_data(conn)) {

0 commit comments

Comments
 (0)