Skip to content
Snippets Groups Projects
Commit 77ad5ec2 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

app_confbridge: Remove some noop code.

........

Merged revisions 409976 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4515cb31
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
static void join_unmarked(struct confbridge_user *user); static void join_unmarked(struct confbridge_user *user);
static void join_marked(struct confbridge_user *user); static void join_marked(struct confbridge_user *user);
static void leave_waitmarked(struct confbridge_user *user); static void leave_waitmarked(struct confbridge_user *user);
static void transition_to_inactive(struct confbridge_user *user);
struct confbridge_state STATE_INACTIVE = { struct confbridge_state STATE_INACTIVE = {
.name = "INACTIVE", .name = "INACTIVE",
...@@ -46,7 +45,6 @@ struct confbridge_state STATE_INACTIVE = { ...@@ -46,7 +45,6 @@ struct confbridge_state STATE_INACTIVE = {
.join_waitmarked = conf_default_join_waitmarked, .join_waitmarked = conf_default_join_waitmarked,
.join_marked = join_marked, .join_marked = join_marked,
.leave_waitmarked = leave_waitmarked, .leave_waitmarked = leave_waitmarked,
.entry = transition_to_inactive,
}; };
struct confbridge_state *CONF_STATE_INACTIVE = &STATE_INACTIVE; struct confbridge_state *CONF_STATE_INACTIVE = &STATE_INACTIVE;
...@@ -73,8 +71,3 @@ static void leave_waitmarked(struct confbridge_user *user) ...@@ -73,8 +71,3 @@ static void leave_waitmarked(struct confbridge_user *user)
conf_change_state(user, CONF_STATE_EMPTY); conf_change_state(user, CONF_STATE_EMPTY);
} }
} }
static void transition_to_inactive(struct confbridge_user *user)
{
return;
}
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
static void join_unmarked(struct confbridge_user *user); static void join_unmarked(struct confbridge_user *user);
static void join_marked(struct confbridge_user *user); static void join_marked(struct confbridge_user *user);
static void leave_unmarked(struct confbridge_user *user); static void leave_unmarked(struct confbridge_user *user);
void transition_to_multi(struct confbridge_user *user);
struct confbridge_state STATE_MULTI = { struct confbridge_state STATE_MULTI = {
.name = "MULTI", .name = "MULTI",
...@@ -47,7 +46,6 @@ struct confbridge_state STATE_MULTI = { ...@@ -47,7 +46,6 @@ struct confbridge_state STATE_MULTI = {
.join_marked = join_marked, .join_marked = join_marked,
.leave_unmarked = leave_unmarked, .leave_unmarked = leave_unmarked,
.leave_waitmarked = conf_default_leave_waitmarked, .leave_waitmarked = conf_default_leave_waitmarked,
.entry = transition_to_multi,
}; };
struct confbridge_state *CONF_STATE_MULTI = &STATE_MULTI; struct confbridge_state *CONF_STATE_MULTI = &STATE_MULTI;
...@@ -72,8 +70,3 @@ static void leave_unmarked(struct confbridge_user *user) ...@@ -72,8 +70,3 @@ static void leave_unmarked(struct confbridge_user *user)
conf_change_state(user, CONF_STATE_SINGLE); conf_change_state(user, CONF_STATE_SINGLE);
} }
} }
void transition_to_multi(struct confbridge_user *user)
{
return;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment