diff --git a/subsys/bluetooth/host/conn.c b/subsys/bluetooth/host/conn.c index 71889493abe..0f138765865 100644 --- a/subsys/bluetooth/host/conn.c +++ b/subsys/bluetooth/host/conn.c @@ -2044,8 +2044,6 @@ int bt_conn_init(void) /* Initialize background scan */ if (IS_ENABLED(CONFIG_BLUETOOTH_CENTRAL)) { - int i; - for (i = 0; i < ARRAY_SIZE(conns); i++) { struct bt_conn *conn = &conns[i];