ospfd: fix checkpatch warnings

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
Rafael Zalamena 2021-03-23 09:29:24 -03:00
parent e5c2d3a82e
commit b5b3078bec
3 changed files with 3 additions and 5 deletions

View File

@ -47,8 +47,6 @@
DEFINE_MTYPE_STATIC(OSPFD, BFD_CONFIG, "BFD configuration data"); DEFINE_MTYPE_STATIC(OSPFD, BFD_CONFIG, "BFD configuration data");
extern struct zclient *zclient;
/* /*
* ospf_bfd_trigger_event - Neighbor is registered/deregistered with BFD when * ospf_bfd_trigger_event - Neighbor is registered/deregistered with BFD when
* neighbor state is changed to/from 2way. * neighbor state is changed to/from 2way.

View File

@ -61,7 +61,7 @@ unsigned long conf_debug_ospf_ti_lfa = 0;
unsigned long conf_debug_ospf_defaultinfo = 0; unsigned long conf_debug_ospf_defaultinfo = 0;
unsigned long conf_debug_ospf_ldp_sync = 0; unsigned long conf_debug_ospf_ldp_sync = 0;
unsigned long conf_debug_ospf_gr = 0; unsigned long conf_debug_ospf_gr = 0;
unsigned long conf_debug_ospf_bfd = 0; unsigned long conf_debug_ospf_bfd;
/* Enable debug option variables -- valid only session. */ /* Enable debug option variables -- valid only session. */
unsigned long term_debug_ospf_packet[5] = {0, 0, 0, 0, 0}; unsigned long term_debug_ospf_packet[5] = {0, 0, 0, 0, 0};
@ -78,7 +78,7 @@ unsigned long term_debug_ospf_ti_lfa = 0;
unsigned long term_debug_ospf_defaultinfo; unsigned long term_debug_ospf_defaultinfo;
unsigned long term_debug_ospf_ldp_sync; unsigned long term_debug_ospf_ldp_sync;
unsigned long term_debug_ospf_gr = 0; unsigned long term_debug_ospf_gr = 0;
unsigned long term_debug_ospf_bfd = 0; unsigned long term_debug_ospf_bfd;
const char *ospf_redist_string(unsigned int route_type) const char *ospf_redist_string(unsigned int route_type)
{ {