Bluetooth: conn: Remove shadow iterator variable
This function already has an 'i' variable on the top-level, so no need to declare a second one that'd just shadow the original. Change-Id: I5dfa4df2c4793be220a40ac642b19bf440e80220 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
512d2ac433
commit
890bf82aff
1 changed files with 0 additions and 2 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue