From 2bc8e572016c79677f40c9aad63706293e11e294 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 8 Sep 2009 12:01:46 +0200 Subject: s4:repl_meta_data: remove unused code metze --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index da9087acbf..6a2e6f2fc0 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -1079,7 +1079,6 @@ static int replmd_replicated_uptodate_modify(struct replmd_replicated_request *a struct ldb_val *nrf_value = NULL; struct ldb_message_element *nrf_el = NULL; uint32_t i,j,ni=0; - uint64_t seq_num; bool found = false; time_t t = time(NULL); NTTIME now; @@ -1094,16 +1093,6 @@ static int replmd_replicated_uptodate_modify(struct replmd_replicated_request *a unix_to_nt_time(&now, t); - /* - * we use the next sequence number for our own highest_usn - * because we will do a modify request and this will increment - * our highest_usn - */ - ret = ldb_sequence_number(ldb, LDB_SEQ_NEXT, &seq_num); - if (ret != LDB_SUCCESS) { - return replmd_replicated_request_error(ar, ret); - } - /* * first create the new replUpToDateVector */ -- cgit