From d6abf79247c4a60a6cdc221904e6fcacf5e1ac9a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 29 Jun 2012 10:43:11 +0200 Subject: s3:dbrwap_ctdb: remove commented out legacy code --- source3/lib/dbwrap/dbwrap_ctdb.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 01dfacac1a..922a5cf665 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1098,11 +1098,7 @@ again: * take the shortcut and just return it. */ - if (!db_ctdb_own_record(ctdb_data, false) -#if 0 - || (random() % 2 != 0) -#endif -) { + if (!db_ctdb_own_record(ctdb_data, false)) { SAFE_FREE(ctdb_data.dptr); tdb_chainunlock(ctx->wtdb->tdb, key); talloc_set_destructor(result, NULL); -- cgit