From: Cyrill Gorcunov <gorcunov@gmail.com> To: tml <tarantool-patches@dev.tarantool.org> Cc: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Subject: [Tarantool-patches] [PATCH 1/5] iproto: drop unused iproto_type_is_sync Date: Fri, 26 Jun 2020 17:52:23 +0300 [thread overview] Message-ID: <20200626145227.1507426-2-gorcunov@gmail.com> (raw) In-Reply-To: <20200626145227.1507426-1-gorcunov@gmail.com> Introduced in 157beda5abb336c722f6f8256b5682797d79b640 but never used since. In-scope-of #4842 Signed-off-by: Cyrill Gorcunov <gorcunov@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
next prev parent reply other threads:[~2020-06-26 14:52 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-26 14:52 [Tarantool-patches] [PATCH 0/5] qsync: Cleanups during review Cyrill Gorcunov 2020-06-26 14:52 ` Cyrill Gorcunov [this message] 2020-06-26 14:52 ` [Tarantool-patches] [PATCH 2/5] iproto: drop unused iproto_type_is_select Cyrill Gorcunov 2020-06-26 14:52 ` [Tarantool-patches] [PATCH 3/5] iproto: drop unused iproto_type_is_request Cyrill Gorcunov 2020-06-26 14:52 ` [Tarantool-patches] [PATCH 4/5] journal: drop unused destroy method Cyrill Gorcunov 2020-06-26 14:52 ` [Tarantool-patches] [PATCH 5/5] txn: use txn_set_flag Cyrill Gorcunov 2020-06-26 14:55 ` [Tarantool-patches] [PATCH 0/5] qsync: Cleanups during review Cyrill Gorcunov 2020-06-28 16:55 ` Vladislav Shpilevoy 2020-06-29 20:37 ` Vladislav Shpilevoy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200626145227.1507426-2-gorcunov@gmail.com \ --to=gorcunov@gmail.com \ --cc=tarantool-patches@dev.tarantool.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH 1/5] iproto: drop unused iproto_type_is_sync' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox