From 18f60fe9990db3c9313e579497d36e44a9818629 Mon Sep 17 00:00:00 2001 From: Jakub Urbańczyk Date: Fri, 31 Jul 2020 00:15:51 +0200 Subject: zebra: remove old kernel one-update-at-a-time api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old one is replaced by the api that is suitable for the batching. Signed-off-by: Jakub Urbańczyk --- zebra/zebra_mpls_netlink.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'zebra/zebra_mpls_netlink.c') diff --git a/zebra/zebra_mpls_netlink.c b/zebra/zebra_mpls_netlink.c index 742b08c376..3b2279c66c 100644 --- a/zebra/zebra_mpls_netlink.c +++ b/zebra/zebra_mpls_netlink.c @@ -55,30 +55,12 @@ static ssize_t netlink_lsp_msg_encoder(struct zebra_dplane_ctx *ctx, void *buf, return netlink_mpls_multipath_msg_encode(cmd, ctx, buf, buflen); } -/* - * The communication with the kernel is done using the message batching - * interface, so return a failure. - */ -enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx) -{ - return ZEBRA_DPLANE_REQUEST_FAILURE; -} - enum netlink_msg_status netlink_put_lsp_update_msg(struct nl_batch *bth, struct zebra_dplane_ctx *ctx) { return netlink_batch_add_msg(bth, ctx, netlink_lsp_msg_encoder, false); } -/* - * The communication with the kernel is done using the message batching - * interface, so return a failure. - */ -enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx) -{ - return ZEBRA_DPLANE_REQUEST_FAILURE; -} - /* * Pseudowire update api - not supported by netlink as of 12/18, * but note that the default has been to report 'success' for pw updates -- cgit v1.2.3