diff options
author | Siger Yang <siger.yang@outlook.com> | 2022-08-18 17:35:41 +0200 |
---|---|---|
committer | Siger Yang <siger.yang@outlook.com> | 2022-08-18 17:35:41 +0200 |
commit | 366eb2d0865d781250798d7bc9a9678fc75c9fe8 (patch) | |
tree | c60de52b44ddc47252b200ef8a8f92721f7a1653 /zebra/zebra_dplane.c | |
parent | zebra: fix ctab calculation typo in tc netlink (diff) | |
download | frr-366eb2d0865d781250798d7bc9a9678fc75c9fe8.tar.xz frr-366eb2d0865d781250798d7bc9a9678fc75c9fe8.zip |
zebra: trim unused tc dplane result values
Signed-off-by: Siger Yang <siger.yang@outlook.com>
Diffstat (limited to 'zebra/zebra_dplane.c')
-rw-r--r-- | zebra/zebra_dplane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 3cfdfd21e..f2ed00d12 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 */ |