From 366eb2d0865d781250798d7bc9a9678fc75c9fe8 Mon Sep 17 00:00:00 2001 From: Siger Yang Date: Thu, 18 Aug 2022 23:35:41 +0800 Subject: [PATCH] zebra: trim unused tc dplane result values Signed-off-by: Siger Yang --- zebra/zebra_dplane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 3cfdfd21e5..f2ed00d125 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -3512,7 +3512,7 @@ dplane_route_update_internal(struct route_node *rn, static enum zebra_dplane_result dplane_tc_update_internal(enum dplane_op_e op) { enum zebra_dplane_result result = ZEBRA_DPLANE_REQUEST_FAILURE; - int ret = EINVAL; + int ret; struct zebra_dplane_ctx *ctx = NULL; /* Obtain context block */ -- 2.39.5