aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g726.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_g726.c')
-rwxr-xr-xformats/format_g726.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/formats/format_g726.c b/formats/format_g726.c
index 4813a72c0..a71c1226a 100755
--- a/formats/format_g726.c
+++ b/formats/format_g726.c
@@ -482,14 +482,7 @@ int unload_module()
int usecount()
{
- int res;
- if (ast_mutex_lock(&g726_lock)) {
- ast_log(LOG_WARNING, "Unable to lock g726 list.\n");
- return -1;
- }
- res = glistcnt;
- ast_mutex_unlock(&g726_lock);
- return res;
+ return glistcnt;
}
char *description()