diff options
Diffstat (limited to 'channels/chan_features.c')
-rwxr-xr-x | channels/chan_features.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/channels/chan_features.c b/channels/chan_features.c index 18f7367cf..a03197778 100755 --- a/channels/chan_features.c +++ b/channels/chan_features.c @@ -570,11 +570,7 @@ int unload_module() int usecount() { - int res; - ast_mutex_lock(&usecnt_lock); - res = usecnt; - ast_mutex_unlock(&usecnt_lock); - return res; + return usecnt; } char *key() |