isisd: cleanup unused variables

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
Christian Franke 2017-09-23 19:32:12 +02:00
parent 3dca3c8c48
commit 05278b9378

View File

@ -705,8 +705,6 @@ static void isis_spf_add_local(struct isis_spftree *spftree,
return; return;
} else { /* vertex->d_N > cost */ } else { /* vertex->d_N > cost */
/* f) */ /* f) */
struct listnode *pnode, *pnextnode;
struct isis_vertex *pvertex;
isis_vertex_queue_delete(&spftree->tents, vertex); isis_vertex_queue_delete(&spftree->tents, vertex);
isis_vertex_del(vertex); isis_vertex_del(vertex);
} }
@ -788,8 +786,6 @@ static void process_N(struct isis_spftree *spftree, enum vertextype vtype,
return; return;
/* 4) */ /* 4) */
} else { } else {
struct listnode *pnode, *pnextnode;
struct isis_vertex *pvertex;
isis_vertex_queue_delete(&spftree->tents, vertex); isis_vertex_queue_delete(&spftree->tents, vertex);
isis_vertex_del(vertex); isis_vertex_del(vertex);
} }