summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-02 17:39:13 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-02 19:03:13 +0100
commit259cb94c1107bf30bebbb2a084208c1b4a3e9a77 (patch)
treee99459c638c3ebd9136001ed35c39312f3887842
parent20654d6a98fb55230fdaeba58fcea9d197e3d92d (diff)
downloadsamba-259cb94c1107bf30bebbb2a084208c1b4a3e9a77.tar.gz
samba-259cb94c1107bf30bebbb2a084208c1b4a3e9a77.tar.bz2
samba-259cb94c1107bf30bebbb2a084208c1b4a3e9a77.zip
s3: Remove unused dbwrap_record_get_private_data
db_record->private_data is for backends which can include dbwrap_private.h anyway.
-rw-r--r--source3/lib/dbwrap/dbwrap.c5
-rw-r--r--source3/lib/dbwrap/dbwrap.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/source3/lib/dbwrap/dbwrap.c b/source3/lib/dbwrap/dbwrap.c
index cdc46c328f..50dbb30b04 100644
--- a/source3/lib/dbwrap/dbwrap.c
+++ b/source3/lib/dbwrap/dbwrap.c
@@ -110,11 +110,6 @@ TDB_DATA dbwrap_record_get_value(const struct db_record *rec)
return rec->value;
}
-void *dbwrap_record_get_private_data(const struct db_record *rec)
-{
- return rec->private_data;
-}
-
NTSTATUS dbwrap_record_store(struct db_record *rec, TDB_DATA data, int flags)
{
return rec->store(rec, data, flags);
diff --git a/source3/lib/dbwrap/dbwrap.h b/source3/lib/dbwrap/dbwrap.h
index f0646d3ec1..41e6833d79 100644
--- a/source3/lib/dbwrap/dbwrap.h
+++ b/source3/lib/dbwrap/dbwrap.h
@@ -29,7 +29,6 @@ struct db_context;
TDB_DATA dbwrap_record_get_key(const struct db_record *rec);
TDB_DATA dbwrap_record_get_value(const struct db_record *rec);
-void *dbwrap_record_get_private_data(const struct db_record *rec);
NTSTATUS dbwrap_record_store(struct db_record *rec, TDB_DATA data, int flags);
NTSTATUS dbwrap_record_delete(struct db_record *rec);
struct db_record *dbwrap_fetch_locked(struct db_context *db,