summaryrefslogtreecommitdiff
path: root/isisd/isisd.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 6c1308af0a..43efa0164d 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -469,22 +469,6 @@ int isis_area_get(struct vty *vty, const char *area_tag)
return CMD_SUCCESS;
}
-/* return the number of Level1 and level-1-2 routers or
- * the number of Level2 and level-1-2 routers configured
- */
-int isis_area_count(const struct isis *isis, int levels)
-{
- struct isis_area *area;
- struct listnode *node;
- int count = 0;
-
- for (ALL_LIST_ELEMENTS_RO(isis->area_list, node, area))
- if (area->is_type & levels)
- count++;
-
- return count;
-}
-
void isis_area_destroy(struct isis_area *area)
{
struct listnode *node, *nnode;