From 748c69e1603672bda341e01e4f3bd299556cb8fc Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Fri, 5 Feb 2010 23:34:54 +0000 Subject: [PATCH] pri_restart() is no longer needed since the Q.921 rewrite. Don't output error message for a deprecated function. git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1464 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pri.c b/pri.c index bfdf6dc..97aa72b 100644 --- a/pri.c +++ b/pri.c @@ -376,14 +376,13 @@ void pri_sr_set_useruser(struct pri_sr *sr, const char *userchars) int pri_restart(struct pri *pri) { + /* pri_restart() is no longer needed since the Q.921 rewrite. */ #if 0 /* Restart Q.921 layer */ if (pri) { q921_reset(pri, 1); q921_start(pri, pri->localtype == PRI_CPE); } -#else - pri_error(pri, "pri_restart should never be called !!!!\n"); #endif return 0; }