summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/tdb/include
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/lib/tdb/include')
-rw-r--r--ctdb/lib/tdb/include/tdb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ctdb/lib/tdb/include/tdb.h b/ctdb/lib/tdb/include/tdb.h
index ca23dde6c56..f8a6d43d217 100644
--- a/ctdb/lib/tdb/include/tdb.h
+++ b/ctdb/lib/tdb/include/tdb.h
@@ -49,8 +49,6 @@ extern "C" {
#define TDB_VOLATILE 256 /* Activate the per-hashchain freelist, default 5 */
#define TDB_ALLOW_NESTING 512 /* Allow transactions to nest */
-#define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret)
-
/* error codes */
enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK,
TDB_ERR_OOM, TDB_ERR_EXISTS, TDB_ERR_NOLOCK, TDB_ERR_LOCK_TIMEOUT,