[svn-commits] rmudgett: branch 1.4 r2102 - in /branches/1.4: pri_q921.h q921.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Nov 5 14:35:19 CDT 2010


Author: rmudgett
Date: Fri Nov  5 14:35:15 2010
New Revision: 2102

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2102
Log:
Remove unneeded struct q921_link.mdl_error_state member.

Modified:
    branches/1.4/pri_q921.h
    branches/1.4/q921.c

Modified: branches/1.4/pri_q921.h
URL: http://svnview.digium.com/svn/libpri/branches/1.4/pri_q921.h?view=diff&rev=2102&r1=2101&r2=2102
==============================================================================
--- branches/1.4/pri_q921.h (original)
+++ branches/1.4/pri_q921.h Fri Nov  5 14:35:15 2010
@@ -230,7 +230,6 @@
 	/* MDL variables */
 	int mdl_timer;
 	int mdl_error;
-	enum q921_state mdl_error_state;
 	unsigned int mdl_free_me:1;
 
 	unsigned int peer_rx_busy:1;

Modified: branches/1.4/q921.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q921.c?view=diff&rev=2102&r1=2101&r2=2102
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Fri Nov  5 14:35:15 2010
@@ -1652,7 +1652,7 @@
 	}
 }
 
-static void q921_mdl_handle_error(struct q921_link *link, char error, int errored_state)
+static void q921_mdl_handle_error(struct q921_link *link, char error)
 {
 	struct pri *ctrl;
 
@@ -1673,7 +1673,7 @@
 {
 	struct q921_link *link = vlink;
 
-	q921_mdl_handle_error(link, link->mdl_error, link->mdl_error_state);
+	q921_mdl_handle_error(link, link->mdl_error);
 
 	link->mdl_error = 0;
 	link->mdl_timer = 0;
@@ -1813,7 +1813,6 @@
 		return;
 	}
 	link->mdl_error = error;
-	link->mdl_error_state = link->state;
 	link->mdl_timer = pri_schedule_event(ctrl, 0, q921_mdl_handle_error_callback, link);
 }
 




More information about the svn-commits mailing list