diff options
Diffstat (limited to 'formats/format_wav.c')
-rwxr-xr-x | formats/format_wav.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/formats/format_wav.c b/formats/format_wav.c index 6e9246754..182e40c60 100755 --- a/formats/format_wav.c +++ b/formats/format_wav.c @@ -574,14 +574,7 @@ int unload_module() int usecount() { - int res; - if (ast_mutex_lock(&wav_lock)) { - ast_log(LOG_WARNING, "Unable to lock wav list\n"); - return -1; - } - res = glistcnt; - ast_mutex_unlock(&wav_lock); - return res; + return glistcnt; } char *description() |