s3:g_lock: remove an unreached code path.
authorMichael Adam <obnox@samba.org>
Fri, 22 Jan 2010 14:56:28 +0000 (15:56 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 12 Feb 2010 22:12:12 +0000 (23:12 +0100)
Michael

source3/lib/g_lock.c

index 6508b3995b02c48c9d5b805969d4bb84f1c80288..0eae3f2131ec551a2da2251cb8de9b21e4d5000c 100644 (file)
@@ -309,10 +309,6 @@ again:
                goto done;
        }
 
                goto done;
        }
 
-       if (retry) {
-               goto again;
-       }
-
        DEBUG(10, ("g_lock_trylock: Did not get lock, waiting...\n"));
 
        if (te == NULL) {
        DEBUG(10, ("g_lock_trylock: Did not get lock, waiting...\n"));
 
        if (te == NULL) {