diff options
Diffstat (limited to 'formats/format_g723.c')
-rwxr-xr-x | formats/format_g723.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/formats/format_g723.c b/formats/format_g723.c index d0e1b2325..91187c3bd 100755 --- a/formats/format_g723.c +++ b/formats/format_g723.c @@ -249,14 +249,7 @@ int unload_module() int usecount() { - int res; - if (ast_mutex_lock(&g723_lock)) { - ast_log(LOG_WARNING, "Unable to lock g723 list\n"); - return -1; - } - res = glistcnt; - ast_mutex_unlock(&g723_lock); - return res; + return glistcnt; } char *description() |