summaryrefslogtreecommitdiff
path: root/zebra/zebra_nhg.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-05-20 11:23:36 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:40:59 -0400
commit2d8a9c544bd9bdfc6a32910f593ab65fbab2036c (patch)
tree7aac8d8736e8eefd7dc8bbc350e43ba0038f1404 /zebra/zebra_nhg.c
parentdf3cef24c596ddb631872f4270097154f50988ef (diff)
zebra: remove unneeded nhg repalce boilerplate
Remove some leftover boilerplate from the old replace code path. That code ended up in the add API so its no longer needed. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_nhg.c')
-rw-r--r--zebra/zebra_nhg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index 6d4a915673..d4d31d3ea2 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -2813,9 +2813,3 @@ struct nhg_hash_entry *zebra_nhg_proto_del(uint32_t id)
return nhe;
}
-/* Replace NHE from upper level proto */
-struct nhg_hash_entry *
-zebra_nhg_proto_replace(uint32_t id, struct nexthop_group *nhg, afi_t afi)
-{
- return NULL;
-}