diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-21 09:19:26 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:23:39 -0500 | 
| commit | 84f259891486ec5b36c2b6475a41dcd7cd87f6f4 (patch) | |
| tree | 97ebd90650084a8f8def54e848fdff4855660a9f /pimd/pim_msdp.c | |
| parent | a6c5db596eafa6b587297ca4eb4ef386eeb9185a (diff) | |
pimd: Remove pim_msdp_config_write as it was never used
This function was never used, additionally rename the _helper
function to this name.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp.c')
| -rw-r--r-- | pimd/pim_msdp.c | 9 | 
1 files changed, 2 insertions, 7 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c index 7e072e6ade..a4f87fa1a6 100644 --- a/pimd/pim_msdp.c +++ b/pimd/pim_msdp.c @@ -1523,8 +1523,8 @@ enum pim_msdp_err pim_msdp_mg_src_add(struct pim_instance *pim,  }  /*********************** MSDP feature APIs *********************************/ -int pim_msdp_config_write_helper(struct pim_instance *pim, struct vty *vty, -				 const char *spaces) +int pim_msdp_config_write(struct pim_instance *pim, struct vty *vty, +			  const char *spaces)  {  	struct listnode *mbrnode;  	struct pim_msdp_mg_mbr *mbr; @@ -1553,11 +1553,6 @@ int pim_msdp_config_write_helper(struct pim_instance *pim, struct vty *vty,  	return count;  } -int pim_msdp_config_write(struct vty *vty) -{ -	return pim_msdp_config_write_helper(pimg, vty, ""); -} -  /* Enable feature including active/periodic timers etc. on the first peer   * config. Till then MSDP should just stay quiet. */  static void pim_msdp_enable(struct pim_instance *pim)  | 
