From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH v2 2/3] txn: kill txn_last_stmt helper Date: Tue, 30 Jul 2019 13:49:14 +0300 Message-Id: <09e9572c62d0c2c4d6473d0f4125e007b9e4664a.1564483378.git.vdavydov.dev@gmail.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: tarantool-patches@freelists.org List-ID: 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