[Tarantool-patches] [PATCH 3/5] iproto: drop unused iproto_type_is_request

Cyrill Gorcunov gorcunov at gmail.com
Fri Jun 26 17:52:25 MSK 2020


Introduced in 157beda5abb336c722f6f8256b5682797d79b640
and never used since.

In-scope-of #4842

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 src/box/iproto_constants.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/box/iproto_constants.h b/src/box/iproto_constants.h
index 57ae56d83..6b850f101 100644
--- a/src/box/iproto_constants.h
+++ b/src/box/iproto_constants.h
@@ -321,13 +321,6 @@ dml_request_key_map(uint32_t type)
 	return iproto_body_key_map[type];
 }
 
-/** A common request with a mandatory and simple body (key, tuple, ops)  */
-static inline bool
-iproto_type_is_request(uint32_t type)
-{
-	return type > IPROTO_OK && type <= IPROTO_TYPE_STAT_MAX;
-}
-
 /** CONFIRM/ROLLBACK entries for synchronous replication. */
 static inline bool
 iproto_type_is_synchro_request(uint32_t type)
-- 
2.26.2



More information about the Tarantool-patches mailing list