From 259cb94c1107bf30bebbb2a084208c1b4a3e9a77 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 2 Dec 2011 17:39:13 +0100 Subject: s3: Remove unused dbwrap_record_get_private_data db_record->private_data is for backends which can include dbwrap_private.h anyway. --- source3/lib/dbwrap/dbwrap.c | 5 ----- source3/lib/dbwrap/dbwrap.h | 1 - 2 files changed, 6 deletions(-) (limited to 'source3/lib') 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, -- cgit