summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-01-28 20:56:11 +0100
committerDonald Sharp <sharpd@nvidia.com>2021-01-28 20:56:11 +0100
commit153bdb3d03542530ed1deccbefc716cb4b699a67 (patch)
tree9f61a2e7fa34a2166843a033e1192866e5f4d199 /ospfd/ospfd.c
parentpbrd: Remove #if 0 code (diff)
downloadfrr-153bdb3d03542530ed1deccbefc716cb4b699a67.tar.xz
frr-153bdb3d03542530ed1deccbefc716cb4b699a67.zip
ospfd: ospf_nbr_nbma_lookup_next always returns NULL
The calling function of ospf_nbr_nbma_lookup_next calls this function and then immediately returns when it gets the NULL. Just cleanup a bit more code. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index dfb1b44e3..04397d50a 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -1981,15 +1981,6 @@ struct ospf_nbr_nbma *ospf_nbr_nbma_lookup(struct ospf *ospf,
return NULL;
}
-struct ospf_nbr_nbma *ospf_nbr_nbma_lookup_next(struct ospf *ospf,
- struct in_addr *addr, int first)
-{
- if (ospf == NULL)
- return NULL;
-
- return NULL;
-}
-
int ospf_nbr_nbma_set(struct ospf *ospf, struct in_addr nbr_addr)
{
struct ospf_nbr_nbma *nbr_nbma;