mech: drop unused code

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-03-23 18:40:18 +01:00
parent 35b0880e7b
commit b25a374409
@@ -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)