diff options
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/main/frame.c b/main/frame.c index 45dafeb3d..d64fa09a7 100644 --- a/main/frame.c +++ b/main/frame.c @@ -932,23 +932,6 @@ void ast_frame_dump(const char *name, struct ast_frame *f, char *prefix) #ifdef TRACE_FRAMES -static int show_frame_stats_deprecated(int fd, int argc, char *argv[]) -{ - struct ast_frame *f; - int x=1; - if (argc != 3) - return RESULT_SHOWUSAGE; - AST_LIST_LOCK(&headerlist); - ast_cli(fd, " Framer Statistics \n"); - ast_cli(fd, "---------------------------\n"); - ast_cli(fd, "Total allocated headers: %d\n", headers); - ast_cli(fd, "Queue Dump:\n"); - AST_LIST_TRAVERSE(&headerlist, f, frame_list) - ast_cli(fd, "%d. Type %d, subclass %d from %s\n", x++, f->frametype, f->subclass, f->src ? f->src : "<Unknown>"); - AST_LIST_UNLOCK(&headerlist); - return RESULT_SUCCESS; -} - static int show_frame_stats(int fd, int argc, char *argv[]) { struct ast_frame *f; |