aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorwedhorn <wedhorn@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-17 21:59:55 +0000
committerwedhorn <wedhorn@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-17 21:59:55 +0000
commita130a268aeb6a22002d4c1c92e884e5503414db9 (patch)
treef6b6e4c030306a873018178f23cbda2d8430ce06 /channels
parent1aa4733de1ad1d1e260d19b5dce51d9aa7492ab4 (diff)
Remove extraneous line variables.
The vars were either explicitly or implicitly not used. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@319470 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_skinny.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index be9668e41..b90ba7eba 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -1244,7 +1244,6 @@ struct skinny_subchannel {
char mohinterpret[MAX_MUSICCLASS]; \
char mohsuggest[MAX_MUSICCLASS]; \
char lastnumberdialed[AST_MAX_EXTENSION]; \
- int curtone; \
ast_group_t callgroup; \
ast_group_t pickupgroup; \
int callwaiting; \
@@ -1253,22 +1252,16 @@ struct skinny_subchannel {
int mwiblink; \
int cancallforward; \
int getforward; \
- int callreturn; \
int dnd; \
- int hascallerid; \
int hidecallerid; \
int amaflags; \
- int type; \
int instance; \
int group; \
- int needdestroy; \
struct ast_format_cap *confcap; \
struct ast_codec_pref confprefs; \
struct ast_format_cap *cap; \
struct ast_codec_pref prefs; \
int nonCodecCapability; \
- int onhooktime; \
- int msgstate; \
int immediate; \
int nat; \
int directmedia; \
@@ -1300,7 +1293,6 @@ static struct skinny_line_options{
.directmedia = 0,
.nat = 0,
.getforward = 0,
- .needdestroy = 0,
.prune = 0,
};
static struct skinny_line_options *default_line = &default_line_struct;
@@ -6854,11 +6846,6 @@ static struct ast_channel *skinny_request(const char *type, struct ast_format_ca
}
continue;
}
- } else if (!strcasecmp(v->name, "callreturn")) {
- if (type & (TYPE_DEF_LINE | TYPE_LINE)) {
- CLINE_OPTS->callreturn = ast_true(v->value);
- continue;
- }
} else if (!strcasecmp(v->name, "threewaycalling")) {
if (type & (TYPE_DEF_LINE | TYPE_LINE)) {
CLINE_OPTS->threewaycalling = ast_true(v->value);