[asterisk-commits] mmichelson: branch mmichelson/transfer r387513 - /team/mmichelson/transfer/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 2 15:01:08 CDT 2013


Author: mmichelson
Date: Thu May  2 15:01:07 2013
New Revision: 387513

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387513
Log:
Remove duplicate functions in channel.c


Modified:
    team/mmichelson/transfer/main/channel.c

Modified: team/mmichelson/transfer/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/transfer/main/channel.c?view=diff&rev=387513&r1=387512&r2=387513
==============================================================================
--- team/mmichelson/transfer/main/channel.c (original)
+++ team/mmichelson/transfer/main/channel.c Thu May  2 15:01:07 2013
@@ -11297,21 +11297,3 @@
 	ao2_ref(bridge, -1);
 	return peer;
 }
-
-struct ast_bridge *ast_channel_get_bridge(const struct ast_channel *chan)
-{
-	struct ast_bridge *bridge;
-
-	bridge = ast_channel_internal_bridge(chan);
-	if (!bridge) {
-		return NULL;
-	}
-	ao2_ref(bridge, +1);
-	return bridge;
-}
-
-int ast_channel_is_bridged(const struct ast_channel *chan)
-{
-	RAII_VAR(struct ast_bridge *, bridge, ast_channel_get_bridge(chan), ao2_cleanup);
-	return bridge != 0;
-}




More information about the asterisk-commits mailing list