summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-22 15:56:28 +0100
committerKarolin Seeger <kseeger@samba.org>2010-04-01 09:39:16 +0200
commitaefbeef9f6009bf2a2df4296c6bfe98fb7f68b41 (patch)
tree15fdfe28720bb86e8ff3fafa6e21a55c6df246e0 /source3/lib
parent02a422096e8829d31d99570e9614caf1e133087c (diff)
downloadsamba-aefbeef9f6009bf2a2df4296c6bfe98fb7f68b41.tar.gz
s3:g_lock: remove an unreached code path.
Michael (cherry picked from commit 8e306b51b79d3dacd68be9f13aa8455e2eb4c03f) (cherry picked from commit 77e4a72902856cd6c1f635dc3a952f846522b7d0)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/g_lock.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c
index 6508b3995b0..0eae3f2131e 100644
--- a/source3/lib/g_lock.c
+++ b/source3/lib/g_lock.c
@@ -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) {