Skip to content

Commit

Permalink
Remove unused err variable from init_conn_list
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Janc authored and Johan Hedberg committed May 14, 2011
1 parent 51d7384 commit b671636
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/hciops.c
Expand Up @@ -2754,7 +2754,7 @@ static void init_conn_list(int index)
struct dev_info *dev = &devs[index];
struct hci_conn_list_req *cl;
struct hci_conn_info *ci;
int err, i;
int i;

DBG("hci%d", index);

Expand All @@ -2780,8 +2780,6 @@ static void init_conn_list(int index)
conn->handle = ci->handle;
}

err = 0;

failed:
g_free(cl);
}
Expand Down

0 comments on commit b671636

Please sign in to comment.