diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-06-18 08:12:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-18 08:12:01 -0400 |
| commit | 631f59c40ed75fd83d57c62c3e7e059753c621b3 (patch) | |
| tree | 6f0b58a95c94b359e548d2a281c648490ea4f9bc /lib/link_state.c | |
| parent | 6e17b9cd7d8acf395717c5cd56f3d324e2edbd28 (diff) | |
| parent | aa6fe908f344ce53d143316d7f9d72b7c9f95958 (diff) | |
Merge pull request #8846 from ton31337/fix/some_code_cleanups
bgpd: A couple of cleanups
Diffstat (limited to 'lib/link_state.c')
| -rw-r--r-- | lib/link_state.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/link_state.c b/lib/link_state.c index afeb89c592..e8a6b89f89 100644 --- a/lib/link_state.c +++ b/lib/link_state.c @@ -79,7 +79,6 @@ void ls_node_del(struct ls_node *node) return; XFREE(MTYPE_LS_DB, node); - node = NULL; } int ls_node_same(struct ls_node *n1, struct ls_node *n2) @@ -168,7 +167,6 @@ void ls_attributes_del(struct ls_attributes *attr) ls_attributes_srlg_del(attr); XFREE(MTYPE_LS_DB, attr); - attr = NULL; } int ls_attributes_same(struct ls_attributes *l1, struct ls_attributes *l2) @@ -221,7 +219,6 @@ void ls_prefix_del(struct ls_prefix *pref) return; XFREE(MTYPE_LS_DB, pref); - pref = NULL; } int ls_prefix_same(struct ls_prefix *p1, struct ls_prefix *p2) @@ -839,7 +836,6 @@ void ls_ted_del(struct ls_ted *ted) subnets_fini(&ted->subnets); XFREE(MTYPE_LS_DB, ted); - ted = NULL; } void ls_ted_del_all(struct ls_ted *ted) |
