diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-06-05 12:55:48 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-06-05 12:55:48 -0400 | 
| commit | e4f71625ed1af07905699c1c1e0012eeca87257a (patch) | |
| tree | 1d87a914097f3a3dd71ea906644d5de54a48fd81 /pathd/path_pcep_debug.c | |
| parent | 6198bc98bea5034277de2ef1bec34929c9346894 (diff) | |
pathd: Remove unused function
format_yang_dnode is never used and it has coverity issues, removing
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pathd/path_pcep_debug.c')
| -rw-r--r-- | pathd/path_pcep_debug.c | 12 | 
1 files changed, 0 insertions, 12 deletions
diff --git a/pathd/path_pcep_debug.c b/pathd/path_pcep_debug.c index 55148d9d05..e14f6bc4a5 100644 --- a/pathd/path_pcep_debug.c +++ b/pathd/path_pcep_debug.c @@ -975,18 +975,6 @@ const char *format_pcep_message(struct pcep_message *msg)  	return PATHD_FORMAT_FINI();  } -const char *format_yang_dnode(struct lyd_node *dnode) -{ -	char *buff; -	int len; - -	lyd_print_mem(&buff, dnode, LYD_JSON, LYD_PRINT_WD_ALL); -	len = strlen(buff); -	memcpy(_debug_buff, buff, len); -	free(buff); -	return _debug_buff; -} -  void _format_pcc_opts(int ps, struct pcc_opts *opts)  {  	if (opts == NULL) {  | 
