diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-03-30 03:18:33 -0400 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-03-30 03:19:28 -0400 |
| commit | 44a84850a970476c9712a7da133e0d6b140cc839 (patch) | |
| tree | df227d78f4716531a96ec1c787a04c08e74036e4 /pimd/pim_cmd.c | |
| parent | 403715424069cbf831bd532c615d36d83e5c6c1c (diff) | |
zebra: use "assert" instead of unnecessary check
Like `zvni_map_to_svi_ns()` for `ns_walk_func()`, just use "assert"
instead of unnecessary check.
Since these parameters for `ns_walk_func()`, e.g. `in_param` and others,
must not be NULL. So use `assert` to ensure the these parameters, and
remove those unnecessary checks.
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'pimd/pim_cmd.c')
0 files changed, 0 insertions, 0 deletions
