diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-03-22 06:22:20 -0400 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-03-23 04:15:28 -0400 |
| commit | 573eeb2bfbbcaa057f66496886abda92645c6f11 (patch) | |
| tree | c8421906b5b3f53487a52aed075d2d5fdd9e89d3 /pimd/pim_cmd.c | |
| parent | fd5dbc8e4871b111b3d05feaf42b7a645972d27e (diff) | |
bgpd: remove unnecessary checkings for bgp_evpn_es_new()
Currently, `bgp_evpn_es_new()` always has an invald `struct bgp` pointer as
its input parameter, and it will always return valid `es`.
So two cleanup changes:
- Remove unnecessary checking for `bgp` in `bgp_evpn_es_new()`
- Remove unnecessary checkings of `bgp_evpn_es_new()`'s callers.
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'pimd/pim_cmd.c')
0 files changed, 0 insertions, 0 deletions
