[libpri-commits] mattf: trunk r535 - /trunk/q921.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Sat Mar 1 17:30:51 CST 2008


Author: mattf
Date: Sat Mar  1 17:30:50 2008
New Revision: 535

URL: http://svn.digium.com/view/libpri?view=rev&rev=535
Log:
Remove some (currently) useless code

Modified:
    trunk/q921.c

Modified: trunk/q921.c
URL: http://svn.digium.com/view/libpri/trunk/q921.c?view=diff&rev=535&r1=534&r2=535
==============================================================================
--- trunk/q921.c (original)
+++ trunk/q921.c Sat Mar  1 17:30:50 2008
@@ -771,7 +771,6 @@
 	int ri;
 	struct pri *sub;
 	int tei;
-	pri_event *ev;
 	if (pri->debug & PRI_DEBUG_Q921_STATE)
 		pri_message(pri, "Received MDL message\n");
 	if (h->data[0] != 0x0f) {
@@ -815,7 +814,7 @@
 		}
 		if (pri->subchannel && (pri->subchannel->tei == tei)) {
 			pri_error(pri, "TEI already assigned (new is %d, current is %d)\n", tei, pri->subchannel->tei);
-			ev = q921_dchannel_down(pri->subchannel);
+			q921_dchannel_down(pri->subchannel);
 			__pri_free_tei(pri->subchannel);
 			pri->subchannel = NULL;
 			q921_start(pri, pri->localtype == PRI_CPE);
@@ -848,7 +847,7 @@
 			return NULL;
 
 		if ((tei == Q921_TEI_GROUP) || (tei == pri->subchannel->tei)) {
-			ev = q921_dchannel_down(pri->subchannel);
+			q921_dchannel_down(pri->subchannel);
 			__pri_free_tei(pri->subchannel);
 			pri->subchannel = NULL;
 			q921_start(pri, pri->localtype == PRI_CPE);




More information about the libpri-commits mailing list