From 51ebe420b1e0fcc948fd03aebe14e3b98868bc4d Mon Sep 17 00:00:00 2001 From: mvanbaak Date: Thu, 26 Jun 2008 23:14:08 +0000 Subject: 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 --- channels/chan_skinny.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'channels/chan_skinny.c') 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) { -- cgit v1.2.3