[PATCH v2 2/3] txn: kill txn_last_stmt helper

Vladimir Davydov vdavydov.dev at gmail.com
Tue Jul 30 13:49:14 MSK 2019


It's not used anywhere anymore.
---
 src/box/txn.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/box/txn.h b/src/box/txn.h
index 0a5c5169..9a6c8d63 100644
--- a/src/box/txn.h
+++ b/src/box/txn.h
@@ -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
-- 
2.20.1




More information about the Tarantool-patches mailing list