summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-09-08 12:01:46 +0200
committerStefan Metzmacher <metze@samba.org>2009-09-08 22:06:07 +0200
commit2bc8e572016c79677f40c9aad63706293e11e294 (patch)
treedf05a97c628b7c3412645f0956c0f26b70453b13 /source4/dsdb/samdb/ldb_modules
parentd04cca005c049d52f802f676fba7868ba89e9399 (diff)
downloadsamba-2bc8e572016c79677f40c9aad63706293e11e294.tar.gz
samba-2bc8e572016c79677f40c9aad63706293e11e294.tar.bz2
samba-2bc8e572016c79677f40c9aad63706293e11e294.zip
s4:repl_meta_data: remove unused code
metze
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c11
1 files changed, 0 insertions, 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
*/