Removed the unused COMMUNITY_LIST_ERR_CANT_FIND_LIST
Ticket:#
3900813
Testing Done: precommit
Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
};
/* Error code of community-list. */
-#define COMMUNITY_LIST_ERR_CANT_FIND_LIST -1
-#define COMMUNITY_LIST_ERR_MALFORMED_VAL -2
-#define COMMUNITY_LIST_ERR_STANDARD_CONFLICT -3
-#define COMMUNITY_LIST_ERR_EXPANDED_CONFLICT -4
-
+#define COMMUNITY_LIST_ERR_MALFORMED_VAL -1
+#define COMMUNITY_LIST_ERR_STANDARD_CONFLICT -2
+#define COMMUNITY_LIST_ERR_EXPANDED_CONFLICT -3
/* Handler. */
extern struct community_list_handler *bgp_clist;
static void community_list_perror(struct vty *vty, int ret)
{
switch (ret) {
- case COMMUNITY_LIST_ERR_CANT_FIND_LIST:
- vty_out(vty, "%% Can't find community-list\n");
- break;
case COMMUNITY_LIST_ERR_MALFORMED_VAL:
vty_out(vty, "%% Malformed community-list value\n");
break;