summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipip
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-10-18 12:28:48 +0200
committerKlement Sekera <ksekera@cisco.com>2021-10-18 12:32:47 +0200
commita4ba8da26f053db714d77943c01090e968724273 (patch)
treeb00d06867f4e076de7e8b471576b7d55014222e2 /src/vnet/ipip
parentf0e67d78ae23ff3d5751ea10e9e76cb6e81ba4a5 (diff)
api: remove legacy pd msg handlers
While looking at a coverity warning it was discovered that it's caused by return value modified by pd msg handlers. As these are legacy, it's a good time to remove them and also fix the warning this way. Type: fix Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: Ic72ab8b2b7a2e55188d1c31cfd18a74b7cf82c43
Diffstat (limited to 'src/vnet/ipip')
-rw-r--r--src/vnet/ipip/ipip_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/ipip/ipip_api.c b/src/vnet/ipip/ipip_api.c
index f44c72c3b27..50b6731af44 100644
--- a/src/vnet/ipip/ipip_api.c
+++ b/src/vnet/ipip/ipip_api.c
@@ -112,7 +112,6 @@ send_ipip_tunnel_details (ipip_tunnel_t * t, vl_api_ipip_tunnel_dump_t * mp)
vl_api_ipip_tunnel_details_t *rmp;
bool is_ipv6 = t->transport == IPIP_TRANSPORT_IP6 ? true : false;
fib_table_t *ft;
- int rv = 0;
ft = fib_table_get (t->fib_index, (is_ipv6 ? FIB_PROTOCOL_IP6 :
FIB_PROTOCOL_IP4));