summaryrefslogtreecommitdiff
path: root/python/makefile.py
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-05-13 21:02:11 -0400
committeranlan_cs <vic.lan@pica8.com>2022-05-13 23:31:52 -0400
commit81157cbd10d3ebc6d3d31cb5617dadea1c98d454 (patch)
treefdfbbd9a17dfbc9c17ee1c34259529196cb1ef6e /python/makefile.py
parent3743e0c3009a920a361bc9fb3b41df8153a11281 (diff)
zebra: remove unnecessary check for "zevpn_vrf"
The global vrf in zebra is always non-NULL. In general, it is bound to default vrf by `zebra_vrf_init()`, at other times bound to some specific vrf. Anyway, non-NULL. So remove all redundant checkings for the returned value of `zebra_vrf_get_evpn()`. Additionally, remove the unnecessary check for `zvrf` in `zebra_vxlan_cleanup_tables()`. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'python/makefile.py')
0 files changed, 0 insertions, 0 deletions