mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
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
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
static void join_unmarked(struct confbridge_user *user);
|
||||
static void join_marked(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 = {
|
||||
.name = "INACTIVE",
|
||||
@@ -46,7 +45,6 @@ struct confbridge_state STATE_INACTIVE = {
|
||||
.join_waitmarked = conf_default_join_waitmarked,
|
||||
.join_marked = join_marked,
|
||||
.leave_waitmarked = leave_waitmarked,
|
||||
.entry = transition_to_inactive,
|
||||
};
|
||||
struct confbridge_state *CONF_STATE_INACTIVE = &STATE_INACTIVE;
|
||||
|
||||
@@ -73,8 +71,3 @@ static void leave_waitmarked(struct confbridge_user *user)
|
||||
conf_change_state(user, CONF_STATE_EMPTY);
|
||||
}
|
||||
}
|
||||
|
||||
static void transition_to_inactive(struct confbridge_user *user)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@@ -38,7 +38,6 @@
|
||||
static void join_unmarked(struct confbridge_user *user);
|
||||
static void join_marked(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 = {
|
||||
.name = "MULTI",
|
||||
@@ -47,7 +46,6 @@ struct confbridge_state STATE_MULTI = {
|
||||
.join_marked = join_marked,
|
||||
.leave_unmarked = leave_unmarked,
|
||||
.leave_waitmarked = conf_default_leave_waitmarked,
|
||||
.entry = transition_to_multi,
|
||||
};
|
||||
struct confbridge_state *CONF_STATE_MULTI = &STATE_MULTI;
|
||||
|
||||
@@ -72,8 +70,3 @@ static void leave_unmarked(struct confbridge_user *user)
|
||||
conf_change_state(user, CONF_STATE_SINGLE);
|
||||
}
|
||||
}
|
||||
|
||||
void transition_to_multi(struct confbridge_user *user)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user