vty: cosmetic: drop redundant 'break' statements

Change-Id: I54ee7c3c6fe16a413d0e1128c7358ff6e4b76c6a
This commit is contained in:
Vadim Yanitskiy 2020-09-21 23:18:26 +07:00 committed by laforge
parent 53fbc67d4e
commit aade232c54
1 changed files with 0 additions and 2 deletions

View File

@ -1143,14 +1143,12 @@ static void vty_describe_command(struct vty *vty)
vty_prompt(vty);
vty_redraw_line(vty);
return;
break;
case CMD_ERR_NO_MATCH:
cmd_free_strvec(vline);
vty_out(vty, "%% There is no matched command.%s", VTY_NEWLINE);
vty_prompt(vty);
vty_redraw_line(vty);
return;
break;
}
/* Get width of command string. */