[Tarantool-patches] [PATCH 1/5] iproto: drop unused iproto_type_is_sync
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jun 26 17:52:23 MSK 2020
Introduced in 157beda5abb336c722f6f8256b5682797d79b640
but never used since.
In-scope-of #4842
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/box/iproto_constants.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/box/iproto_constants.h b/src/box/iproto_constants.h
index 45c8af236..ccdb48780 100644
--- a/src/box/iproto_constants.h
+++ b/src/box/iproto_constants.h
@@ -346,17 +346,6 @@ iproto_type_is_synchro_request(uint32_t type)
return type == IPROTO_CONFIRM || type == IPROTO_ROLLBACK;
}
-/**
- * The request is "synchronous": no other requests
- * on this connection should be taken before this one
- * ends.
- */
-static inline bool
-iproto_type_is_sync(uint32_t type)
-{
- return type == IPROTO_JOIN || type == IPROTO_SUBSCRIBE;
-}
-
/** This is an error. */
static inline bool
iproto_type_is_error(uint32_t type)
--
2.26.2
More information about the Tarantool-patches
mailing list