From b25a37440947b9bd6a65784ffc3852be2ce3fba1 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 23 Mar 2023 18:40:18 +0100 Subject: [PATCH] mech: drop unused code Signed-off-by: Joachim Wiberg --- src/mech/src/ietf-interfaces/ietf-interfaces.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mech/src/ietf-interfaces/ietf-interfaces.c b/src/mech/src/ietf-interfaces/ietf-interfaces.c index 1cb7d1cb..85778d49 100644 --- a/src/mech/src/ietf-interfaces/ietf-interfaces.c +++ b/src/mech/src/ietf-interfaces/ietf-interfaces.c @@ -219,7 +219,6 @@ int ietf_if_statedata(clicon_handle h, cvec *nsc, char *xpath, cxobj *xstate) cbuf *cb = NULL; cxobj *xt = NULL; cvec *nsc1 = NULL; -// yang_stmt *yspec = NULL; int rc = -1; if ((cb = cbuf_new()) == NULL) { @@ -227,7 +226,6 @@ int ietf_if_statedata(clicon_handle h, cvec *nsc, char *xpath, cxobj *xstate) goto done; } -// yspec = clicon_dbspec_yang(h); if ((nsc1 = xml_nsctx_init(NULL, "urn:ietf:params:xml:ns:yang:ietf-interfaces")) == NULL) goto done; if (xmldb_get0(h, "running", YB_MODULE, nsc1, "/interfaces/interface/name", 1, 0, &xt, NULL, NULL) < 0)