summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index e2f99aebf3..3ea1789441 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -4262,8 +4262,6 @@ int zclient_send_zebra_gre_request(struct zclient *client,
struct interface *ifp)
{
struct stream *s;
- ifindex_t idx_local;
- int ret;
if (!client || client->sock < 0) {
zlog_err("%s : zclient not ready", __func__);
@@ -4278,7 +4276,4 @@ int zclient_send_zebra_gre_request(struct zclient *client,
stream_putw_at(s, 0, stream_get_endp(s));
zclient_send_message(client);
return 0;
-stream_failure:
- zlog_err("%s(): error reading response ..", __func__);
- return 0;
}