diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-12-03 07:58:47 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-12-03 07:58:47 -0500 |
| commit | 7f5faf7c765e9ddc0a9c9344be23b9134ddb45ca (patch) | |
| tree | b17e67e387cad288bc56efa4e838b061d1681e07 /pimd/pim_vxlan.c | |
| parent | 6b74db7544b3570ea7e2a5c0608755702cdce394 (diff) | |
pimd: Clean up switch statement to our standards
Fixup the switch statement to not have a default statement
with a enum as the case.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_vxlan.c')
| -rw-r--r-- | pimd/pim_vxlan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c index 22b14eecf9..4bed52a584 100644 --- a/pimd/pim_vxlan.c +++ b/pimd/pim_vxlan.c @@ -406,7 +406,9 @@ static void pim_vxlan_orig_mr_up_add(struct pim_vxlan_sg *vxlan_sg) pim_vxlan_update_sg_reg_state(pim, up, true); break; - default:; + case PIM_REG_JOIN_PENDING: + case PIM_REG_PRUNE: + break; } /* update the inherited OIL */ |
