diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-01-31 15:24:58 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-01-31 15:59:57 +0100 |
commit | 7318ae88debc4d8b9a4918fa035b318fee550bca (patch) | |
tree | e90c86df0fa3ba7956324bf420635a1072523402 /bgpd/bgp_fsm.c | |
parent | bgpd: Cleanup some bad formating (diff) | |
download | frr-7318ae88debc4d8b9a4918fa035b318fee550bca.tar.xz frr-7318ae88debc4d8b9a4918fa035b318fee550bca.zip |
bgpd: enums in switches do not need default
If you have enums handled in a switch adding a default case
makes it fun to fix when new stuff is added later. Remove.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_fsm.c')
-rw-r--r-- | bgpd/bgp_fsm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index e1f0b36cb..da8e6a907 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -2296,11 +2296,6 @@ int bgp_gr_lookup_n_update_all_peer(struct bgp *bgp, "%s [BGP_GR] GLOBAL_INVALID", __func__); return BGP_ERR_GR_OPERATION_FAILED; - default: - zlog_debug( - "%s [BGP_GR] Global unknown ERROR", - __func__); - return BGP_ERR_GR_OPERATION_FAILED; } } } |