summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-15 20:22:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:20 -0500
commita3c0f3035d338b5bf00ecd436cb0ebfcbdc7345d (patch)
tree0ba09d342f0475d139afe2172fd28ad04417c8fb
parent8e7d87babc40688023085668ad88e219870c1280 (diff)
downloadsamba-a3c0f3035d338b5bf00ecd436cb0ebfcbdc7345d.tar.gz
samba-a3c0f3035d338b5bf00ecd436cb0ebfcbdc7345d.tar.bz2
samba-a3c0f3035d338b5bf00ecd436cb0ebfcbdc7345d.zip
r20189: remove unused struct element
metze (This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
-rw-r--r--source4/ldap_server/ldap_backend.c2
-rw-r--r--source4/lib/ldb/common/ldb_ldif.c2
-rw-r--r--source4/lib/ldb/common/ldb_msg.c1
-rw-r--r--source4/lib/ldb/include/ldb.h1
4 files changed, 0 insertions, 6 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index aaa8e453ca..b318996f43 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -340,7 +340,6 @@ static NTSTATUS ldapsrv_ModifyRequest(struct ldapsrv_call *call)
NT_STATUS_HAVE_NO_MEMORY(msg);
msg->dn = dn;
- msg->private_data = NULL;
msg->num_elements = 0;
msg->elements = NULL;
@@ -444,7 +443,6 @@ static NTSTATUS ldapsrv_AddRequest(struct ldapsrv_call *call)
NT_STATUS_HAVE_NO_MEMORY(msg);
msg->dn = dn;
- msg->private_data = NULL;
msg->num_elements = 0;
msg->elements = NULL;
diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c
index 3b6783f803..572e677b44 100644
--- a/source4/lib/ldb/common/ldb_ldif.c
+++ b/source4/lib/ldb/common/ldb_ldif.c
@@ -544,7 +544,6 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb,
msg->dn = NULL;
msg->elements = NULL;
msg->num_elements = 0;
- msg->private_data = NULL;
chunk = next_chunk(ldb, fgetc_fn, private_data);
if (!chunk) {
@@ -552,7 +551,6 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb,
}
talloc_steal(ldif, chunk);
- msg->private_data = chunk;
s = chunk;
if (next_attr(ldif, &s, &attr, &value) != 0) {
diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c
index 0f7a214023..9efd3d4d52 100644
--- a/source4/lib/ldb/common/ldb_msg.c
+++ b/source4/lib/ldb/common/ldb_msg.c
@@ -455,7 +455,6 @@ struct ldb_message *ldb_msg_copy_shallow(TALLOC_CTX *mem_ctx,
if (msg2 == NULL) return NULL;
*msg2 = *msg;
- msg2->private_data = NULL;
msg2->elements = talloc_array(msg2, struct ldb_message_element,
msg2->num_elements);
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 853adb82c6..b00bb0fd46 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -156,7 +156,6 @@ struct ldb_message {
struct ldb_dn *dn;
unsigned int num_elements;
struct ldb_message_element *elements;
- void *private_data; /* private to the backend */
};
enum ldb_changetype {