From 86d562236224187bde6d27e69cce8c74ac1012e2 Mon Sep 17 00:00:00 2001 From: Jakub Urbańczyk Date: Wed, 15 Jul 2020 15:12:22 +0200 Subject: zebra: remove "PENDING" dplane request state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This request state is redundant with new message batching interface. Signed-off-by: Jakub Urbańczyk --- zebra/zebra_rib.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'zebra/zebra_rib.c') diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index afae449e7c..55dccc4a12 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -497,9 +497,6 @@ void rib_install_kernel(struct route_node *rn, struct route_entry *re, if (zvrf) zvrf->installs++; break; - /* Should never happen */ - case ZEBRA_DPLANE_REQUEST_PENDING: - break; } return; @@ -544,9 +541,6 @@ void rib_uninstall_kernel(struct route_node *rn, struct route_entry *re) if (zvrf) zvrf->removals++; break; - /* Should never happen */ - case ZEBRA_DPLANE_REQUEST_PENDING: - break; } return; -- cgit v1.2.3