From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 9166942EF5C for ; Fri, 26 Jun 2020 17:52:44 +0300 (MSK) Received: by mail-lf1-f65.google.com with SMTP id g139so5299197lfd.10 for ; Fri, 26 Jun 2020 07:52:44 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 26 Jun 2020 17:52:23 +0300 Message-Id: <20200626145227.1507426-2-gorcunov@gmail.com> In-Reply-To: <20200626145227.1507426-1-gorcunov@gmail.com> References: <20200626145227.1507426-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/5] iproto: drop unused iproto_type_is_sync List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy Introduced in 157beda5abb336c722f6f8256b5682797d79b640 but never used since. In-scope-of #4842 Signed-off-by: Cyrill Gorcunov --- 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