An extra mutex_unlock has been removed

This commit is contained in:
Bahadir Balban
2009-06-01 15:06:07 +03:00
parent 33200c92df
commit 4206c6e3fc

View File

@@ -199,7 +199,6 @@ int mutex_control_unlock(unsigned long mutex_address)
/* Search for the mutex queue */
if (!(mutex_queue = mutex_control_find(mutex_address))) {
mutex_queue_head_unlock();
/* No such mutex, create one and sleep on it */
if (!(mutex_queue = mutex_control_create(mutex_address))) {