From 8c74d904d4d85c129fd0e5459008aa0e3ca80bd4 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Tue, 1 Dec 2020 13:05:36 -0500 Subject: [PATCH] zebra: remove unused EC_ZEBRA_IF_LOOKUP_FAILED EC_ZEBRA_IF_LOOKUP_FAILED is no longer being used, remove it. Signed-off-by: Stephen Worley --- zebra/zebra_errors.c | 6 ------ zebra/zebra_errors.h | 1 - 2 files changed, 7 deletions(-) diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index b75708031e..29b271425d 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -310,12 +310,6 @@ static struct log_ref ferr_zebra_err[] = { .suggestion = "Check to see if the nexthop group on the route you tried to install is valid." }, - { - .code = EC_ZEBRA_IF_LOOKUP_FAILED, - .title = "Zebra interface lookup failed", - .description = "Zebra attempted to look up a interface for a particular vrf_id and interface index, but didn't find anything.", - .suggestion = "If you entered a command to trigger this error, make sure you entered the arguments correctly. Check your config file for any potential errors. If these look correct, seek help.", - }, { .code = EC_ZEBRA_NS_NO_DEFAULT, .title = "Zebra NameSpace failed to find Default", diff --git a/zebra/zebra_errors.h b/zebra/zebra_errors.h index 03953ed17f..fc0382a6cd 100644 --- a/zebra/zebra_errors.h +++ b/zebra/zebra_errors.h @@ -75,7 +75,6 @@ enum zebra_log_refs { EC_ZEBRA_NHG_TABLE_INSERT_FAILED, EC_ZEBRA_NHG_SYNC, EC_ZEBRA_NHG_FIB_UPDATE, - EC_ZEBRA_IF_LOOKUP_FAILED, EC_ZEBRA_NS_NO_DEFAULT, EC_ZEBRA_PBR_RULE_UPDATE, /* warnings */ -- 2.39.5