s3:g_lock: remove an unreached code path.
authorMichael Adam <obnox@samba.org>
Fri, 22 Jan 2010 14:56:28 +0000 (15:56 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Apr 2010 07:39:16 +0000 (09:39 +0200)
Michael
(cherry picked from commit 8e306b51b79d3dacd68be9f13aa8455e2eb4c03f)
(cherry picked from commit 77e4a72902856cd6c1f635dc3a952f846522b7d0)

source3/lib/g_lock.c

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