]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove show_frame_stats_deprecated since it is not
authorMark Michelson <mmichelson@digium.com>
Fri, 22 Aug 2008 19:23:02 +0000 (19:23 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 22 Aug 2008 19:23:02 +0000 (19:23 +0000)
used anywhere and causes build errors if building under
dev-mode with TRACE_FRAMES selected in menuselect.

(closes issue #13362)
Reported by: snuffy

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@139521 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/frame.c

index 45dafeb3d229d2696824afda49640d51a7380683..d64fa09a7eae3f9b57ac02aedfcbf7ebb05e070c 100644 (file)
@@ -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;