diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-06-02 11:27:54 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-06-02 22:08:07 -0300 |
| commit | ca70b756bf4c5b4aeb554fc1acd2c98aa696d6d7 (patch) | |
| tree | adc203f72e88cbad3350c4db40a9830903499c70 | |
| parent | be0fbdebca3dbb9266a5196d88f504141ea44b0f (diff) | |
ldpd: remove variable that is not necessary anymore
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
| -rw-r--r-- | ldpd/lde_lib.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ldpd/lde_lib.c b/ldpd/lde_lib.c index 89aa6d4201..8dc305cac1 100644 --- a/ldpd/lde_lib.c +++ b/ldpd/lde_lib.c @@ -437,7 +437,6 @@ lde_check_mapping(struct map *map, struct lde_nbr *ln) struct lde_req *lre; struct lde_map *me; struct l2vpn_pw *pw; - int msgsource = 0; lde_map2fec(map, ln->id, &fec); @@ -538,18 +537,12 @@ lde_check_mapping(struct map *map, struct lde_nbr *ln) default: break; } - - msgsource = 1; } /* LMp.13 & LMp.16: Record the mapping from this peer */ if (me == NULL) me = lde_map_add(ln, fn, 0); me->map = *map; - if (msgsource == 0) - /* LMp.13: just return since we use liberal lbl retention */ - return; - /* * LMp.17 - LMp.27 are unnecessary since we don't need to implement * loop detection. LMp.28 - LMp.30 are unnecessary because we are |
