[svn-commits] mattf: trunk r160 - /trunk/mtp2.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 9 19:41:09 CDT 2008


Author: mattf
Date: Fri May  9 19:41:08 2008
New Revision: 160

URL: http://svn.digium.com/view/libss7?view=rev&rev=160
Log:
Remove some useless code in mtp2

Modified:
    trunk/mtp2.c

Modified: trunk/mtp2.c
URL: http://svn.digium.com/view/libss7/trunk/mtp2.c?view=diff&rev=160&r1=159&r2=160
==============================================================================
--- trunk/mtp2.c (original)
+++ trunk/mtp2.c Fri May  9 19:41:08 2008
@@ -324,20 +324,7 @@
 
 static int mtp2_fisu(struct mtp2 *link, int nack)
 {
-	struct ss7_msg *m;
-	if (!nack) {
-		link->autotxsutype = FISU;
-		return 0;
-	}
-
-	/* We can't nack unless we actually send something */
-	m = ss7_msg_new();
-	if (!m) return -1;
-
-	if (nack) make_fisu(link, m->buf, &m->size, nack);
-
-	mtp2_queue_su(link, m);
-
+	link->autotxsutype = FISU;
 	return 0;
 }
 




More information about the svn-commits mailing list