From cab6e116786641e28747de3f70c8cd89ba17673f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 18 Jun 2012 22:30:25 +0930 Subject: TDB2: remove TDB1 compatibility. This rips out all the TDB1 compatibility from tdb2. Signed-off-by: Rusty Russell --- lib/tdb2/check.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/tdb2/check.c') diff --git a/lib/tdb2/check.c b/lib/tdb2/check.c index 9fe60e5409..e6c815815c 100644 --- a/lib/tdb2/check.c +++ b/lib/tdb2/check.c @@ -810,12 +810,6 @@ _PUBLIC_ enum TDB_ERROR tdb_check_(struct tdb_context *tdb, " cannot check."); } - if (tdb->flags & TDB_VERSION1) { - if (tdb1_check(tdb, check, data) == -1) - return tdb->last_error; - return TDB_SUCCESS; - } - ecode = tdb_allrecord_lock(tdb, F_RDLCK, TDB_LOCK_WAIT, false); if (ecode != TDB_SUCCESS) { return tdb->last_error = ecode; -- cgit