isisd: Remove dead case

It's impossible to ever get to the else statement.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-05-15 13:40:33 -04:00 committed by Donald Sharp
parent 7bf5d99223
commit 0bffa92902

View File

@ -377,14 +377,8 @@ isis_adj_print_vty (struct isis_adjacency *adj, struct vty *vty, char detail)
dyn = dynhn_find_by_id (adj->sysid);
if (dyn)
vty_out (vty, " %-20s", dyn->name.name);
else if (adj->sysid)
{
vty_out (vty, " %-20s", sysid_print (adj->sysid));
}
else
{
vty_out (vty, " unknown ");
}
vty_out (vty, " %-20s", sysid_print (adj->sysid));
if (detail == ISIS_UI_LEVEL_BRIEF)
{