* modules/fcgid/fcgid_mutex_unix.c (fcgid_mutex_create): Simplify,
no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@1817484 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/fcgid/fcgid_mutex_unix.c b/modules/fcgid/fcgid_mutex_unix.c
index 1010d90..6b62ad2 100644
--- a/modules/fcgid/fcgid_mutex_unix.c
+++ b/modules/fcgid/fcgid_mutex_unix.c
@@ -39,15 +39,8 @@
apr_pool_t *pconf,
server_rec *main_server)
{
- apr_status_t rv;
-
- rv = ap_global_mutex_create(mutex, lockfile, mutex_type, NULL, main_server,
- pconf, 0);
- if (rv != APR_SUCCESS) {
- return rv;
- }
-
- return APR_SUCCESS;
+ return ap_global_mutex_create(mutex, lockfile, mutex_type, NULL,
+ main_server, pconf, 0);
}
#else