aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-26 23:14:08 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-26 23:14:08 +0000
commit51ebe420b1e0fcc948fd03aebe14e3b98868bc4d (patch)
tree708a4416bb25e90704653e603642b020b307a8ba /channels/chan_skinny.c
parentd8c9de8daa87ba1f7c636a7512c07343fdac6e66 (diff)
remove paging device from chan_skinny.
This has never been used, and noone could give us info about what it is used for. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125593 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r--channels/chan_skinny.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index a7ebf8c50..8b0a6130b 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -1109,10 +1109,6 @@ AST_MUTEX_DEFINE_STATIC(netlock);
AST_MUTEX_DEFINE_STATIC(sessionlock);
/* Protect the device list */
AST_MUTEX_DEFINE_STATIC(devicelock);
-#if 0
-/* Protect the paging device list */
-AST_MUTEX_DEFINE_STATIC(pagingdevicelock);
-#endif
/* This is the thread for the monitor which checks for input on the channels
which are not currently in use. */
@@ -1256,13 +1252,6 @@ static struct skinny_device {
struct skinny_line *activeline;
} *devices = NULL;
-struct skinny_paging_device {
- char name[80];
- char id[16];
- struct skinny_device ** devices;
- struct skinny_paging_device *next;
-};
-
static struct skinnysession {
pthread_t t;
ast_mutex_t lock;
@@ -3003,13 +2992,6 @@ static struct ast_cli_entry cli_skinny[] = {
AST_CLI_DEFINE(handle_skinny_reset, "Reset Skinny device(s)"),
};
-#if 0
-static struct skinny_paging_device *build_paging_device(const char *cat, struct ast_variable *v)
-{
- return NULL;
-}
-#endif
-
static struct skinny_device *build_device(const char *cat, struct ast_variable *v)
{
struct skinny_device *d;
@@ -6338,12 +6320,6 @@ static int reload_config(void)
while(cat) {
if (!strcasecmp(cat, "general")) {
/* Nothing to do */
-#if 0
- } else if (!strncasecmp(cat, "paging-", 7)) {
- p = build_paging_device(cat, ast_variable_browse(cfg, cat));
- if (p) {
- }
-#endif
} else {
d = build_device(cat, ast_variable_browse(cfg, cat));
if (d) {