diff --git a/formats/format_g723.c b/formats/format_g723.c
index d0e1b232587c44c7e0eec553ced08b8ea1893205..91187c3bd7ae1aaf25d3d1637184dd83bea86091 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()
diff --git a/formats/format_g726.c b/formats/format_g726.c
index 4813a72c08eecbf840842d0394361cdc64828cce..a71c1226a8e47f6213db50eec3767dc398360c9b 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()
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 19e6809be9cd0f0eb799a8ac6027eb64a0b7ed75..d28098f89b0b34882b1063ddb579bd575d22c60b 100755
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -229,14 +229,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&g729_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock g729 list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&g729_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_gsm.c b/formats/format_gsm.c
index 01fb2a1f94836b01493d547818e54e51fd458a1c..43a2bb6bfc8249d0fe2c4c324991e0eda9c7f729 100755
--- a/formats/format_gsm.c
+++ b/formats/format_gsm.c
@@ -252,14 +252,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&gsm_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock gsm list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&gsm_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_h263.c b/formats/format_h263.c
index 990acbecc4be10d4f485b8a1d7d1af3a3ee507c0..b98ed19e33550ca4e1d61b3b825b6a13ab5c957d 100755
--- a/formats/format_h263.c
+++ b/formats/format_h263.c
@@ -250,14 +250,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&h263_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock h263 list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&h263_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_ilbc.c b/formats/format_ilbc.c
index a690f2690128c3b1b646aba57da981578c510f4d..1d4388a7c4dc48a2008386b785a96ba02b366bd4 100755
--- a/formats/format_ilbc.c
+++ b/formats/format_ilbc.c
@@ -231,14 +231,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&ilbc_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock ilbc list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&ilbc_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_pcm.c b/formats/format_pcm.c
index 5c28fe3d1265a60c8b13a1869aea9e5610fe44ab..cf166350c783f28e40dbae4fcd325668dcacb0ca 100755
--- a/formats/format_pcm.c
+++ b/formats/format_pcm.c
@@ -219,14 +219,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&pcm_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock pcm list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&pcm_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_pcm_alaw.c b/formats/format_pcm_alaw.c
index b5de9f980c5451f1fdff2a0aa84769325e25ba4d..827c1420b8a75dc31bb9cd936156e94f2927c301 100755
--- a/formats/format_pcm_alaw.c
+++ b/formats/format_pcm_alaw.c
@@ -299,14 +299,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&pcm_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock pcm list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&pcm_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_sln.c b/formats/format_sln.c
index b7b309cea84340bc080f6db1201556e40c5e1c0c..ab4d347578fe8751d1efad64a36fc7f1fb2160ca 100755
--- a/formats/format_sln.c
+++ b/formats/format_sln.c
@@ -218,14 +218,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&slinear_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock slinear list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&slinear_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_vox.c b/formats/format_vox.c
index e8f9218eaea2862593974bc5eb4e5f47ca4086bb..a3aa6ce142ca3258048b4a6b8830db257b24a131 100755
--- a/formats/format_vox.c
+++ b/formats/format_vox.c
@@ -222,14 +222,7 @@ int unload_module()
 
 int usecount()
 {
-	int res;
-	if (ast_mutex_lock(&vox_lock)) {
-		ast_log(LOG_WARNING, "Unable to lock vox list\n");
-		return -1;
-	}
-	res = glistcnt;
-	ast_mutex_unlock(&vox_lock);
-	return res;
+	return glistcnt;
 }
 
 char *description()
diff --git a/formats/format_wav.c b/formats/format_wav.c
index 6e9246754ce28ee9d384000b61109379e3a25c8d..182e40c601e6d8d3f65deffe44adc5f987e908b9 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()
diff --git a/formats/format_wav_gsm.c b/formats/format_wav_gsm.c
index 866c5f54ccb5b2a4303436a777e1ad6ad129966f..fd6d7874ded11739c1401c04e5e3f51ea18b5f82 100755
--- a/formats/format_wav_gsm.c
+++ b/formats/format_wav_gsm.c
@@ -555,14 +555,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()