summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_route.c
diff options
context:
space:
mode:
authorManoj Naragund <mnaragund@vmware.com>2021-09-30 10:28:11 -0700
committerManoj Naragund <mnaragund@vmware.com>2021-10-06 08:54:47 -0700
commitbc465fb6cc7cfbad3301d6d0ceb4fb539dbaec35 (patch)
treebb2fd852dd9e7cb66717756fe7e2f50db9551765 /ospf6d/ospf6_route.c
parent25dd89e398b41c50e0e928a01d5ce8376f60c220 (diff)
ospf6d: code cleanup.
removal of some of the deadcode in ospf6d. Signed-off-by: Manoj Naragund <mnaragund@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r--ospf6d/ospf6_route.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c
index 8bfd3b7124..4b87c4cf30 100644
--- a/ospf6d/ospf6_route.c
+++ b/ospf6d/ospf6_route.c
@@ -408,8 +408,6 @@ int ospf6_nexthop_cmp(struct ospf6_nexthop *a, struct ospf6_nexthop *b)
else
return memcmp(&a->address, &b->address,
sizeof(struct in6_addr));
-
- return 0;
}
static int ospf6_path_cmp(struct ospf6_path *a, struct ospf6_path *b)