Skip to content

Commit

Permalink
Merge pull request #2600 from pjonsson/rpl-lite-neighbor
Browse files Browse the repository at this point in the history
rpl-lite: remove duplicate initialization
  • Loading branch information
nvt authored Aug 14, 2023
2 parents e5737c9 + f457519 commit c315278
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions os/net/routing/rpl-lite/rpl-neighbor.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ int
rpl_neighbor_count(void)
{
int count = 0;
rpl_nbr_t *nbr = nbr_table_head(rpl_neighbors);
for(nbr = nbr_table_head(rpl_neighbors);
for(rpl_nbr_t *nbr = nbr_table_head(rpl_neighbors);
nbr != NULL;
nbr = nbr_table_next(rpl_neighbors, nbr)) {
count++;
Expand Down

0 comments on commit c315278

Please sign in to comment.