Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service: little opmitization in service_instance_add()
  • Loading branch information
perexg committed Sep 11, 2014
1 parent 2051682 commit b9c3895
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/service.c
Expand Up @@ -1486,7 +1486,6 @@ service_instance_add(service_instance_list_t *sil,
si->si_s = s;
service_ref(s);
si->si_instance = instance;
si->si_weight = weight;
} else {
si->si_mark = 0;
if(si->si_prio == prio && si->si_weight == weight)
Expand Down

0 comments on commit b9c3895

Please sign in to comment.