Skip to content
Snippets Groups Projects
Commit 09e9572c authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

txn: kill txn_last_stmt helper

It's not used anywhere anymore.
parent 37bedba5
No related branches found
No related tags found
No related merge requests found
......@@ -416,13 +416,6 @@ txn_current_stmt(struct txn *txn)
return stailq_entry(stmt, struct txn_stmt, next);
}
/** The last statement of the transaction. */
static inline struct txn_stmt *
txn_last_stmt(struct txn *txn)
{
return stailq_last_entry(&txn->stmts, struct txn_stmt, next);
}
/**
* FFI bindings: do not throw exceptions, do not accept extra
* arguments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment