summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2023-07-18 15:15:39 +0000
committerGitHub <noreply@github.com>2023-07-18 15:15:39 +0000
commit712e40c409935eb03a584eb1b995ea9d24447cd0 (patch)
tree0f93481b70dc0ddaa74cb41d77d0154d7746b08d /zebra/zapi_msg.c
parent4a986f20d74b5feb8db94ac9d6147950b6b5bd14 (diff)
parentf8d94e8a628d123f299a4f388c58c8f8b222c6c2 (diff)
Merge pull request #11831 from anlancs/fix/cleanup-default
zebra: remove unnecessary check for default vrf
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 5ac8754058..6a5b0b4a0e 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -1337,8 +1337,6 @@ static void zread_fec_register(ZAPI_HANDLER_ARGS)
s = msg;
zvrf = zebra_vrf_lookup_by_id(VRF_DEFAULT);
- if (!zvrf)
- return;
/*
* The minimum amount of data that can be sent for one fec
@@ -1400,8 +1398,6 @@ static void zread_fec_unregister(ZAPI_HANDLER_ARGS)
s = msg;
zvrf = zebra_vrf_lookup_by_id(VRF_DEFAULT);
- if (!zvrf)
- return;
/*
* The minimum amount of data that can be sent for one