[svn-commits] rmudgett: branch group/CCSS r237831 - /team/group/CCSS/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 5 13:23:47 CST 2010


Author: rmudgett
Date: Tue Jan  5 13:23:41 2010
New Revision: 237831

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237831
Log:
Removed unused parameters from available().

Modified:
    team/group/CCSS/channels/chan_dahdi.c

Modified: team/group/CCSS/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_dahdi.c?view=diff&rev=237831&r1=237830&r2=237831
==============================================================================
--- team/group/CCSS/channels/chan_dahdi.c (original)
+++ team/group/CCSS/channels/chan_dahdi.c Tue Jan  5 13:23:41 2010
@@ -11900,9 +11900,8 @@
 	return 1;
 }
 
-static int available(struct dahdi_pvt *p, int channelmatch, ast_group_t groupmatch, int *reason, int *channelmatched, int *groupmatched)
-{
-
+static int available(struct dahdi_pvt *p, int *reason)
+{
 	if (p->inalarm)
 		return 0;
 
@@ -12218,7 +12217,7 @@
 		ast_verbose("name = %s, %d, %d, %llu\n",p->owner ? p->owner->name : "<none>", p->channel, channelmatch, groupmatch);
 #endif
 		if (is_group_or_channel_match(p, groupmatch, &groupmatched, channelmatch, &channelmatched)
-			&& available(p, channelmatch, groupmatch, &unavailreason, &channelmatched, &groupmatched)) {
+			&& available(p, &unavailreason)) {
 			ast_debug(1, "Using channel %d\n", p->channel);
 
 			callwait = (p->owner != NULL);




More information about the svn-commits mailing list